chore: use dotnet 9 for workflow jobs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user