chore: use dotnet 9 for workflow jobs
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 9.0.x
|
||||||
- name: Install report generator
|
- name: Install report generator
|
||||||
run: dotnet tool install --global dotnet-reportgenerator-globaltool
|
run: dotnet tool install --global dotnet-reportgenerator-globaltool
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
@@ -33,10 +33,10 @@ jobs:
|
|||||||
run: dotnet build --no-restore
|
run: dotnet build --no-restore
|
||||||
- name: Install playwright dependencies
|
- name: Install playwright dependencies
|
||||||
shell: pwsh
|
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
|
- name: Install playwright
|
||||||
shell: pwsh
|
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
|
- name: Test project
|
||||||
run: dotnet test -e DOTNET_ENVIRONMENT=CI --no-build --verbosity normal -s ./test/Blog.Tests/ci.runsettings
|
run: dotnet test -e DOTNET_ENVIRONMENT=CI --no-build --verbosity normal -s ./test/Blog.Tests/ci.runsettings
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
@@ -49,4 +49,4 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: playwright-traces
|
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