Skip to content

Commit

Permalink
fix tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NotOfficer committed Nov 17, 2024
1 parent 2872880 commit 32d3f50
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,14 @@ defaults:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: [ '8.0.x', '9.0.x' ]
name: .NET ${{ matrix.dotnet }} Test
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
- name: Setup .NET
uses: actions/setup-dotnet@v4
id: stepid
with:
dotnet-version: ${{ matrix.dotnet }}

- name: Create temporary global.json
run: echo '{"sdk":{"version":"${{ steps.stepid.outputs.dotnet-version }}"}}' > ./global.json
dotnet-version: |
8.0.x
9.0.x
- name: Restore dependencies
run: dotnet restore
Expand All @@ -37,4 +31,4 @@ jobs:
run: dotnet build --no-restore --configuration Release

- name: Run Tests
run: dotnet test --no-build --configuration Release --verbosity normal
run: dotnet test --no-build --configuration Release --verbosity normal

0 comments on commit 32d3f50

Please sign in to comment.