Skip to content

Commit

Permalink
chore: organizing the order of build tasks [ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheranga committed Aug 10, 2023
1 parent 874f795 commit bd8cd79
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,22 @@ jobs:
with:
dotnet-version: |
6.0.x
- name: Install dotnet Tooling
run: dotnet tool restore

- name: Check format
run: dotnet csharpier . --check
- name: Install dependencies
- name: Restore
run: dotnet restore tests/${{ matrix.project-name }}.Tests/${{ matrix.project-name }}.Tests.csproj

- name: Build
run: dotnet build --configuration Release --no-restore tests/${{ matrix.project-name }}.Tests/${{ matrix.project-name }}.Tests.csproj

- name: Test
run: dotnet test --no-restore --verbosity normal --logger "trx;LogFileName=test-results.trx" tests/${{ matrix.project-name }}.Tests/${{ matrix.project-name }}.Tests.csproj
run: dotnet test --no-restore --verbosity normal --logger "trx;LogFileName=test-results.trx" tests/${{ matrix.project-name }}.Tests/${{ matrix.project-name }}.Tests.csproj

- name: Restore DotNet Tools
run: dotnet tool restore

- name: Check Code Format
run: dotnet csharpier . --check

- uses: actions/upload-artifact@v2
if: success() || failure()
with:
Expand Down

0 comments on commit bd8cd79

Please sign in to comment.