Merge pull request #111 from cyb3rpsych0s1s/fix/cyberware #82
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quality | |
on: | |
push: | |
paths: | |
- '.github' | |
- 'scripts/Addicted' | |
pull_request: | |
paths: | |
- '.github' | |
- 'scripts/Addicted' | |
env: | |
DOTNET_VERSION: '8.0.x' | |
REDSCRIPT_VERSION: '0.5.19' | |
REDSCRIPT_SRC: scripts/Addicted | |
jobs: | |
redscript: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '${{ env.DOTNET_VERSION }}' | |
- name: Setup REDscript | |
run: C:\msys64\usr\bin\wget.exe https://github.com/jac3km4/redscript/releases/download/v${{ env.REDSCRIPT_VERSION }}/redscript-cli.exe | |
- name: Lint code | |
run: ./redscript-cli.exe lint --src ${{ env.REDSCRIPT_SRC }} | |
continue-on-error: true |