Skip to content

Commit 4087cf0

Browse files
authored
Update to .NET 9 SDK (#560)
1 parent ad25aa0 commit 4087cf0

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/devcontainers/dotnet:1-8.0-bookworm-slim AS dotnet
1+
FROM mcr.microsoft.com/devcontainers/dotnet:1-9.0-bookworm-slim AS dotnet
22

33
#====================================================================
44

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@v5
30-
- name: Setup .NET SDK v8.0.x
30+
- name: Setup .NET SDK v9.0.x
3131
uses: actions/setup-dotnet@v5
3232
with:
33-
dotnet-version: 8.0.x
33+
dotnet-version: 9.0.x
3434
- name: Code formating check
3535
run: |
3636
dotnet tool restore
@@ -133,10 +133,10 @@ jobs:
133133
run: brew install bison
134134

135135
# .NET Setup (and also MSBuild for Windows).
136-
- name: Setup .NET SDK v8.0.x
136+
- name: Setup .NET SDK v9.0.x
137137
uses: actions/setup-dotnet@v5
138138
with:
139-
dotnet-version: 8.0.x
139+
dotnet-version: 9.0.x
140140
- name: Setup MSBuild
141141
if: runner.os == 'Windows'
142142
uses: microsoft/setup-msbuild@v2
@@ -200,10 +200,10 @@ jobs:
200200
run: |
201201
mkdir bin
202202
cp -rv artifacts/*-native-library/* bin/
203-
- name: Setup .NET SDK v8.0.x
203+
- name: Setup .NET SDK v9.0.x
204204
uses: actions/setup-dotnet@v5
205205
with:
206-
dotnet-version: 8.0.x
206+
dotnet-version: 9.0.x
207207
- name: Get version
208208
id: get-version
209209
shell: pwsh
@@ -254,11 +254,11 @@ jobs:
254254
with:
255255
dotnet-version: 6.0.x
256256
- name: Setup .NET SDK v8.0.x
257+
if: matrix.dotnet == 'net8.0'
257258
uses: actions/setup-dotnet@v5
258259
with:
259260
dotnet-version: 8.0.x
260261
- name: Setup .NET SDK v9.0.x
261-
if: matrix.dotnet == 'net9.0'
262262
uses: actions/setup-dotnet@v5
263263
with:
264264
dotnet-version: 9.0.x
@@ -327,10 +327,10 @@ jobs:
327327
with:
328328
name: nuget-package
329329
path: nuget
330-
- name: Setup .NET SDK v8.0.x
330+
- name: Setup .NET SDK v9.0.x
331331
uses: actions/setup-dotnet@v5
332332
with:
333-
dotnet-version: 8.0.x
333+
dotnet-version: 9.0.x
334334
# if version contains "-" treat it as pre-release
335335
# example: 1.0.0-beta1
336336
- name: Create release

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
cd $VCPKG_INSTALLATION_ROOT
3535
./bootstrap-vcpkg.sh
3636
37-
- name: Setup .NET SDK v8.0.x
37+
- name: Setup .NET SDK v9.0.x
3838
uses: actions/setup-dotnet@v5
3939
with:
40-
dotnet-version: 8.0.x
40+
dotnet-version: 9.0.x
4141

4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL

csharp.test/ParquetSharp.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net8.0</TargetFrameworks>
5-
<!-- Avoid building for older frameworks when testing locally. -->
5+
<!-- Avoid building for other frameworks when testing locally. -->
66
<!-- This is to speed up the build process and avoid errors when the required runtimes are not installed. -->
7-
<TargetFrameworks Condition="'$(CI)' == 'true'">$(TargetFrameworks);netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
7+
<TargetFrameworks Condition="'$(CI)' == 'true'">$(TargetFrameworks);net6.0;net9.0</TargetFrameworks>
88
<TargetFrameworks Condition="'$(CI)' == 'true' AND '$(OS)'=='Windows_NT'">$(TargetFrameworks);net472</TargetFrameworks>
99
<LangVersion>9.0</LangVersion>
1010
<Nullable>enable</Nullable>

fsharp.test/ParquetSharp.Test.FSharp.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>net8.0</TargetFrameworks>
5-
<!-- Avoid building for older frameworks when testing locally. -->
5+
<!-- Avoid building for other frameworks when testing locally. -->
66
<!-- This is to speed up the build process and avoid errors when the required runtimes are not installed. -->
7-
<TargetFrameworks Condition="'$(CI)' == 'true'">$(TargetFrameworks);netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
7+
<TargetFrameworks Condition="'$(CI)' == 'true'">$(TargetFrameworks);net6.0;net9.0</TargetFrameworks>
88
<TargetFrameworks Condition="'$(CI)' == 'true' AND '$(OS)'=='Windows_NT'">$(TargetFrameworks);net472</TargetFrameworks>
99
<PlatformTarget Condition="'$(TargetFramework)'=='net472'">x64</PlatformTarget>
1010
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "8.0.100",
3+
"version": "9.0.109",
44
"rollForward": "latestMinor"
55
}
66
}

0 commit comments

Comments
 (0)