Skip to content

Commit 071fcfa

Browse files
authored
Bump versions of dotnet used in CI (#534)
1 parent bf5cdfe commit 071fcfa

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
if: runner.os == 'macOS'
133133
run: brew install bison
134134

135-
# .NET Core Setup (and also MSBuild for Windows).
135+
# .NET Setup (and also MSBuild for Windows).
136136
- name: Setup .NET SDK v8.0.x
137137
uses: actions/setup-dotnet@v4
138138
with:
@@ -232,15 +232,10 @@ jobs:
232232
strategy:
233233
matrix:
234234
os: [ubuntu-22.04, ubuntu-22.04-arm64, macos-13, macos-14, windows-2022]
235-
dotnet: [netcoreapp3.1, net6.0, net7.0, net8.0]
235+
dotnet: [net6.0, net8.0, net9.0]
236236
include:
237237
- os: windows-2022
238238
dotnet: net472
239-
exclude:
240-
- os: ubuntu-22.04-arm64
241-
dotnet: netcoreapp3.1
242-
- os: macos-14
243-
dotnet: netcoreapp3.1
244239
fail-fast: false
245240
name: Test NuGet package (${{ matrix.dotnet }} on ${{ matrix.os }})
246241
runs-on: ${{ matrix.os }}
@@ -253,25 +248,20 @@ jobs:
253248
with:
254249
name: nuget-package
255250
path: nuget
256-
- name: Setup .NET Core SDK v3.1.x
257-
if: matrix.dotnet == 'netcoreapp3.1'
258-
uses: actions/setup-dotnet@v4
259-
with:
260-
dotnet-version: 3.1.x
261251
- name: Setup .NET SDK v6.0.x
262252
if: matrix.dotnet == 'net6.0'
263253
uses: actions/setup-dotnet@v4
264254
with:
265255
dotnet-version: 6.0.x
266-
- name: Setup .NET SDK v7.0.x
267-
if: matrix.dotnet == 'net7.0'
268-
uses: actions/setup-dotnet@v4
269-
with:
270-
dotnet-version: 7.0.x
271256
- name: Setup .NET SDK v8.0.x
272257
uses: actions/setup-dotnet@v4
273258
with:
274259
dotnet-version: 8.0.x
260+
- name: Setup .NET SDK v9.0.x
261+
if: matrix.dotnet == 'net9.0'
262+
uses: actions/setup-dotnet@v4
263+
with:
264+
dotnet-version: 9.0.x
275265
- name: Add local NuGet feed
276266
run: |
277267
dotnet new nugetconfig

0 commit comments

Comments
 (0)