Skip to content

Commit

Permalink
lint using resharper (#1797)
Browse files Browse the repository at this point in the history
  • Loading branch information
hry-gh authored May 23, 2024
1 parent a6373fb commit d81e7a7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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

0 comments on commit d81e7a7

Please sign in to comment.