chore: use dotnet 9 for workflow jobs

This commit is contained in:
Stevan Freeborn
2025-01-28 13:53:42 -06:00
parent 64102f652c
commit ca0c3933ea
+4 -4
View File
@@ -24,7 +24,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 9.0.x
- name: Install report generator
run: dotnet tool install --global dotnet-reportgenerator-globaltool
- name: Restore dependencies
@@ -33,10 +33,10 @@ jobs:
run: dotnet build --no-restore
- name: Install playwright dependencies
shell: pwsh
run: ./test/Blog.Tests/bin/Debug/net8.0/playwright.ps1 install-deps
run: ./test/Blog.Tests/bin/Debug/net9.0/playwright.ps1 install-deps
- name: Install playwright
shell: pwsh
run: ./test/Blog.Tests/bin/Debug/net8.0/playwright.ps1 install
run: ./test/Blog.Tests/bin/Debug/net9.0/playwright.ps1 install
- name: Test project
run: dotnet test -e DOTNET_ENVIRONMENT=CI --no-build --verbosity normal -s ./test/Blog.Tests/ci.runsettings
- name: Upload test results
@@ -49,4 +49,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: playwright-traces
path: ./test/Blog.Tests/bin/Debug/net8.0/playwright-traces
path: ./test/Blog.Tests/bin/Debug/net9.0/playwright-traces