@@ -24,10 +24,10 @@ jobs:
2424 runs-on : ubuntu-latest
2525 steps :
2626 - uses : actions/checkout@v5
27- - name : Setup .NET 8 SDK
27+ - name : Setup .NET SDK
2828 uses : actions/setup-dotnet@v5
2929 with :
30- dotnet-version : ' 8 .0.x'
30+ dotnet-version : ' 10 .0.x'
3131 - name : Cache NuGet
3232 uses : actions/cache@v4
3333 with :
@@ -53,33 +53,22 @@ jobs:
5353 name : Test ${{ matrix.dotnet }} on ${{ matrix.os }}
5454 needs : lint
5555 runs-on : ${{ matrix.os }}
56- continue-on-error : ${{ matrix.experimental }}
5756 strategy :
5857 fail-fast : false
5958 matrix :
6059 include :
6160 - os : ubuntu-latest
6261 dotnet : ' 8.0.x'
63- experimental : false
6462 - os : ubuntu-latest
6563 dotnet : ' 9.0.x'
66- experimental : false
6764 - os : ubuntu-latest
6865 dotnet : ' 10.0.x'
69- experimental : true
7066 steps :
7167 - uses : actions/checkout@v5
72- - name : Setup .NET SDK (stable)
73- if : ${{ matrix.dotnet != '10.0.x' }}
74- uses : actions/setup-dotnet@v5
75- with :
76- dotnet-version : ${{ matrix.dotnet }}
77- - name : Setup .NET SDK (10 preview)
78- if : ${{ matrix.dotnet == '10.0.x' }}
68+ - name : Setup .NET SDK
7969 uses : actions/setup-dotnet@v5
8070 with :
8171 dotnet-version : ${{ matrix.dotnet }}
82- dotnet-quality : preview
8372 - name : Cache NuGet
8473 uses : actions/cache@v4
8574 with :
@@ -120,11 +109,11 @@ jobs:
120109 - name : Setup Node.js
121110 uses : actions/setup-node@v6
122111 with :
123- node-version : ' 20 '
112+ node-version : ' 24 '
124113 - name : Setup .NET
125114 uses : actions/setup-dotnet@v5
126115 with :
127- dotnet-version : ' 8 .0.x'
116+ dotnet-version : ' 10 .0.x'
128117 - name : Install JS dependencies
129118 run : npm install
130119 working-directory : QsNet.Comparison/js
@@ -153,12 +142,12 @@ jobs:
153142 cs.out
154143 diff.out
155144 smoke :
156- name : Consumer smoke (net5.0; net6.0; net7.0; net8.0; net9.0)
145+ name : Consumer smoke (net5.0; net6.0; net7.0; net8.0; net9.0; net10.0 )
157146 needs : lint
158147 runs-on : ubuntu-latest
159148 steps :
160149 - uses : actions/checkout@v5
161- - name : Setup .NET SDKs (5, 6, 7, 8, 9)
150+ - name : Setup .NET SDKs (5, 6, 7, 8, 9, 10 )
162151 uses : actions/setup-dotnet@v5
163152 with :
164153 dotnet-version : |
@@ -167,12 +156,7 @@ jobs:
167156 7.0.x
168157 8.0.x
169158 9.0.x
170- - name : Setup .NET 10 preview SDK (non-blocking)
171- continue-on-error : true
172- uses : actions/setup-dotnet@v5
173- with :
174- dotnet-version : 10.0.x
175- dotnet-quality : preview
159+ 10.0.x
176160 - name : Create consumer project (multi-target)
177161 run : |
178162 set -euo pipefail
@@ -221,10 +205,10 @@ jobs:
221205 CS
222206 - name : Restore consumer
223207 run : dotnet restore consumer-smoke/consumer-smoke.csproj
224- - name : Build consumer (net6.0; net7.0; net8.0; net9.0)
208+ - name : Build consumer (net6.0; net7.0; net8.0; net9.0; net10.0 )
225209 run : |
226210 set -euo pipefail
227- for f in net6.0 net7.0 net8.0 net9.0; do
211+ for f in net6.0 net7.0 net8.0 net9.0 net10.0 ; do
228212 echo "Building $f"
229213 dotnet build -c Release -f "$f" consumer-smoke/consumer-smoke.csproj --no-restore
230214 done
@@ -233,28 +217,18 @@ jobs:
233217 run : |
234218 set -euo pipefail
235219 dotnet build -c Release -f net5.0 consumer-smoke/consumer-smoke.csproj --no-restore
236- - name : Build consumer (net10.0 preview — non-blocking)
237- continue-on-error : true
238- run : |
239- set -euo pipefail
240- dotnet build -c Release -f net10.0 consumer-smoke/consumer-smoke.csproj --no-restore
241220 - name : Run smoke (net5.0 — non-blocking)
242221 continue-on-error : true
243222 run : |
244223 set -euo pipefail
245224 dotnet run -c Release --framework net5.0 --project consumer-smoke/consumer-smoke.csproj --no-build
246- - name : Run smoke (net6.0; net7.0; net8.0; net9.0)
225+ - name : Run smoke (net6.0; net7.0; net8.0; net9.0; net10.0 )
247226 run : |
248227 set -euo pipefail
249- for f in net6.0 net7.0 net8.0 net9.0; do
228+ for f in net6.0 net7.0 net8.0 net9.0 net10.0 ; do
250229 echo "Running smoke for $f"
251230 dotnet run -c Release --framework "$f" --project consumer-smoke/consumer-smoke.csproj --no-build
252231 done
253- - name : Run smoke (net10.0 preview — non-blocking)
254- continue-on-error : true
255- run : |
256- set -euo pipefail
257- dotnet run -c Release --framework net10.0 --project consumer-smoke/consumer-smoke.csproj --no-build
258232 smoke_netcore31 :
259233 name : Consumer smoke (netcoreapp3.1 compile-only)
260234 needs : lint
@@ -330,8 +304,7 @@ jobs:
330304 - name : Setup .NET SDK
331305 uses : actions/setup-dotnet@v5
332306 with :
333- dotnet-version : |
334- 8.0.x
307+ dotnet-version : ' 10.0.x'
335308 - name : Create consumer project (net461 & net481)
336309 shell : bash
337310 run : |
@@ -405,15 +378,15 @@ jobs:
405378 - smoke_netfx
406379 steps :
407380 - uses : actions/checkout@v5
408- - name : Setup .NET 8 SDK
381+ - name : Setup .NET 10 SDK
409382 uses : actions/setup-dotnet@v5
410383 with :
411- dotnet-version : ' 8 .0.x'
384+ dotnet-version : ' 10 .0.x'
412385 - name : Restore
413386 run : dotnet restore
414387 - name : Build
415388 run : dotnet build --configuration Release --no-restore
416- - name : Test w/ coverage (8 .0—single run)
389+ - name : Test with coverage (10 .0—single run)
417390 run : dotnet test --configuration Release --no-build --collect "XPlat Code Coverage" --results-directory coverage --settings coverlet.runsettings
418391 - name : Install ReportGenerator
419392 run : dotnet tool install -g dotnet-reportgenerator-globaltool
0 commit comments