Skip to content

Commit ca01a1f

Browse files
committed
Update test.yml
1 parent f4816cb commit ca01a1f

File tree

1 file changed

+23
-9
lines changed

1 file changed

+23
-9
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66

77
test-win:
88
needs: test-linux-musl
9-
runs-on: windows-latest
9+
runs-on: windows-2022
1010
env:
1111
DOTNET_CLI_TELEMETRY_OPTOUT: 1
1212
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
@@ -16,10 +16,15 @@ jobs:
1616
with:
1717
dotnet-version: |
1818
8.0.x
19+
9.0.x
1920
- name: Install workloads
2021
run: dotnet workload install ios tvos maccatalyst
2122
- run: dotnet --info
2223
- uses: actions/checkout@v4
24+
- name: Test (.NET 9.0/Debug)
25+
run: dotnet test tests -f net9.0 -c Debug
26+
- name: Test (.NET 9.0/Release)
27+
run: dotnet test tests -f net9.0 -c Release
2328
- name: Test (.NET 8.0/Debug)
2429
run: dotnet test tests -f net8.0 -c Debug
2530
- name: Test (.NET 8.0/Release)
@@ -50,8 +55,13 @@ jobs:
5055
with:
5156
dotnet-version: |
5257
8.0.x
58+
9.0.x
5359
- run: dotnet --info
5460
- uses: actions/checkout@v4
61+
- name: Test (.NET 9.0/Debug)
62+
run: dotnet test tests -f net9.0 -c Debug
63+
- name: Test (.NET 9.0/Release)
64+
run: dotnet test tests -f net9.0 -c Release
5565
- name: Test (.NET 8.0/Debug)
5666
run: dotnet test tests -f net8.0 -c Debug
5767
- name: Test (.NET 8.0/Release)
@@ -65,7 +75,7 @@ jobs:
6575
include:
6676
- os: debian:12
6777
- os: fedora:40
68-
- os: ubuntu:20.04
78+
- os: fedora:41
6979
- os: ubuntu:22.04
7080
- os: ubuntu:24.04
7181
runs-on: ubuntu-latest
@@ -89,8 +99,13 @@ jobs:
8999
with:
90100
dotnet-version: |
91101
8.0.x
102+
9.0.x
92103
- run: dotnet --info
93104
- uses: actions/checkout@v4
105+
- name: Test (.NET 9.0/Debug)
106+
run: dotnet test tests -f net9.0 -c Debug
107+
- name: Test (.NET 9.0/Release)
108+
run: dotnet test tests -f net9.0 -c Release
94109
- name: Test (.NET 8.0/Debug)
95110
run: dotnet test tests -f net8.0 -c Debug
96111
- name: Test (.NET 8.0/Release)
@@ -101,19 +116,18 @@ jobs:
101116
fail-fast: false
102117
matrix:
103118
include:
104-
- os: alpine3.18
105-
- os: alpine3.19
106119
- os: alpine3.20
120+
- os: alpine3.21
107121
runs-on: ubuntu-latest
108122
container:
109-
image: mcr.microsoft.com/dotnet/sdk:8.0-${{ matrix.os }}
123+
image: mcr.microsoft.com/dotnet/sdk:9.0-${{ matrix.os }}
110124
env:
111125
DOTNET_CLI_TELEMETRY_OPTOUT: 1
112126
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
113127
steps:
114128
- run: dotnet --info
115129
- uses: actions/checkout@v4
116-
- name: Test (.NET 8.0/Debug)
117-
run: dotnet test tests -f net8.0 -c Debug
118-
- name: Test (.NET 8.0/Release)
119-
run: dotnet test tests -f net8.0 -c Release
130+
- name: Test (.NET 9.0/Debug)
131+
run: dotnet test tests -f net9.0 -c Debug
132+
- name: Test (.NET 9.0/Release)
133+
run: dotnet test tests -f net9.0 -c Release

0 commit comments

Comments
 (0)