Add new optional lint for weighted pick() syntax #74
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: Lint | |
on: | |
pull_request: | |
branches: [master] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup submodule | |
run: | | |
git submodule update --init --recursive | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.100 | |
- name: Setup Resharper | |
run: dotnet tool install -g JetBrains.ReSharper.GlobalTools | |
- name: Run Linter | |
run: jb inspectcode OpenDream.sln -o="output.json" --project="OpenDream*;DM*" --no-swea | |
- uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: output.json |