mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-05-09 02:36:03 +03:00
Add lint step to pull request workflow
This commit is contained in:
parent
399c52d8ff
commit
55b7b81dba
3 changed files with 250 additions and 20 deletions
|
@ -5,7 +5,7 @@ on:
|
|||
- dev
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -19,4 +19,7 @@ jobs:
|
|||
run: dotnet build --no-restore src/DotTiled.sln
|
||||
- name: Test
|
||||
run: dotnet test --no-build --verbosity normal src/DotTiled.sln
|
||||
|
||||
- name: Lint
|
||||
run: |
|
||||
dotnet format style --verify-no-changes --verbosity diagnostic src/DotTiled.sln
|
||||
dotnet format analyzers --verify-no-changes --verbosity diagnostic src/DotTiled.sln
|
Loading…
Add table
Add a link
Reference in a new issue