1515
1616jobs :
1717 test :
18- runs-on : ${{ matrix.os }}
18+ runs-on : ${{ matrix.os }}-latest
1919 strategy :
2020 fail-fast : false
2121 matrix :
@@ -24,38 +24,27 @@ jobs:
2424 dotnet : ["8.0", "9.0", "10.0"]
2525 include :
2626 - target : x86_64-unknown-linux-gnu
27- os : ubuntu-latest
28- platform : linux
27+ os : ubuntu
2928 arch : x64
3029 - target : x86_64-pc-windows-msvc
31- os : windows-latest
32- platform : windows
30+ os : windows
3331 arch : x64
3432 - target : i686-pc-windows-msvc
35- os : windows-latest
36- platform : windows
33+ os : windows
3734 arch : x86
3835 - target : aarch64-apple-darwin
39- os : macos-latest
40- platform : linux
36+ os : macos
4137 arch : arm64
4238 env :
4339 NETCOREHOST_TEST_NETCORE_VERSION : net${{ matrix.dotnet }}
4440 steps :
4541 - uses : actions/checkout@v4
4642
4743 - name : Uninstall .NET SDKs
48- run : |
49- chmod +x ./.github/scripts/uninstall-dotnet-${{ matrix.platform }}
50- ./.github/scripts/uninstall-dotnet-${{ matrix.platform }}
51-
52- - name : Check .NET Installation
53- run : dotnet --info
44+ run : ./.github/scripts/uninstall-dotnet-${{ matrix.os }}
5445
5546 - name : Install .NET SDK ${{ matrix.dotnet }}
56- run : |
57- chmod +x ./.github/scripts/install-dotnet-${{ matrix.platform }}
58- ./.github/scripts/install-dotnet-${{ matrix.platform }} ${{ matrix.dotnet }} ${{ matrix.arch }}
47+ run : ./.github/scripts/install-dotnet-${{ matrix.os }} ${{ matrix.dotnet }} ${{ matrix.arch }}
5948
6049 - name : Check .NET Installation
6150 run : dotnet --info
@@ -120,7 +109,7 @@ jobs:
120109 run : cargo run --example ${{ matrix.example }}
121110
122111 documentation :
123- runs-on : ${{ matrix.os }}
112+ runs-on : ${{ matrix.os }}-latest
124113 strategy :
125114 matrix :
126115 include :
@@ -142,7 +131,7 @@ jobs:
142131 run : cargo deadlinks
143132
144133 clippy :
145- runs-on : ${{ matrix.os }}
134+ runs-on : ${{ matrix.os }}-latest
146135 strategy :
147136 matrix :
148137 include :
@@ -161,7 +150,7 @@ jobs:
161150 run : cargo clippy --all-features
162151
163152 fmt :
164- runs-on : ${{ matrix.os }}
153+ runs-on : ${{ matrix.os }}-latest
165154 strategy :
166155 matrix :
167156 include :
0 commit comments