Skip to content

Commit

Permalink
ci: add linting to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EnisMulic committed Nov 2, 2023
1 parent 570ef37 commit 0c0994d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,19 @@ jobs:
with:
dotnet-version: "7.0.x"

- name: Restore dependencies
run: dotnet restore
- name: Lint
run: dotnet format --verify-no-changes --verbosity diagnostic

- name: Build
run: dotnet build --configuration Release --no-restore

- name: Test
run: dotnet test --no-restore --verbosity normal --logger trx --results-directory ./test-results/ /p:CI=true tests/Application.UnitTests
run: |
dotnet test --no-restore \
--verbosity normal \
--logger trx \
--results-directory ./test-results/ /p:CI=true \
tests/Application.UnitTests
- name: Test Reporter
uses: dorny/test-reporter@v1
Expand Down

0 comments on commit 0c0994d

Please sign in to comment.