Skip to content

Commit

Permalink
Fix build.yml: net5.0 -> net6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
amoerie committed Jun 23, 2022
1 parent d065472 commit a4ccd7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
if: matrix.os == 'windows-latest'

- name: Run DeadManSwitch.Tests on .NET Core
run: dotnet test ./src/DeadManSwitch.Tests/DeadManSwitch.Tests.csproj --configuration Release --framework net5.0 --collect:"XPlat Code Coverage" --settings ./src/coverlet.runsettings
run: dotnet test ./src/DeadManSwitch.Tests/DeadManSwitch.Tests.csproj --configuration Release --framework net6.0 --collect:"XPlat Code Coverage" --settings ./src/coverlet.runsettings

- name: Run DeadManSwitch.Tests on .NET Framework
run: dotnet test ./src/DeadManSwitch.Tests/DeadManSwitch.Tests.csproj --configuration Release --framework net48
if: matrix.os == 'windows-latest'

- name: Run DeadManSwitch.AspNetCore.Tests
run: dotnet test ./src/DeadManSwitch.AspNetCore.Tests/DeadManSwitch.AspNetCore.Tests.csproj --configuration Release --framework net5.0 --collect:"XPlat Code Coverage" --settings ./src/coverlet.runsettings
run: dotnet test ./src/DeadManSwitch.AspNetCore.Tests/DeadManSwitch.AspNetCore.Tests.csproj --configuration Release --framework net6.0 --collect:"XPlat Code Coverage" --settings ./src/coverlet.runsettings

- uses: codecov/codecov-action@v2

0 comments on commit a4ccd7b

Please sign in to comment.