Skip to content

Commit

Permalink
lint using resharper
Browse files Browse the repository at this point in the history
  • Loading branch information
hry-gh committed May 19, 2024
1 parent a769dd7 commit 867a7f6
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
lint:
runs-on: linux

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*"
- name: Annotate Lints
uses: equisoft-actions/[email protected]
with:
sarif-path: ./output.json

0 comments on commit 867a7f6

Please sign in to comment.