Skip to content

Commit baa7cac

Browse files
authored
feat: Support .NET10 (#12)
* feat: Support .NET10 * chore: build for ubuntu only, no need for building on all platforms
1 parent 7a16216 commit baa7cac

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup .NET
1919
uses: actions/setup-dotnet@v4
2020
with:
21-
dotnet-version: "8.0"
21+
dotnet-version: "10.0"
2222

2323
- name: Restore dependencies
2424
run: dotnet restore

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: [ubuntu-latest, macos-latest, windows-latest]
17-
dotnet-version: ["8.0", "9.0"]
16+
os: [ubuntu-latest]
17+
dotnet-version: ["8.0", "9.0", "10.0"]
1818

1919
steps:
2020
- uses: actions/checkout@v4
@@ -34,12 +34,12 @@ jobs:
3434
run: dotnet test --no-build --configuration Release --verbosity normal
3535

3636
- name: Run tests with coverage
37-
if: matrix.os == 'ubuntu-latest' && matrix.dotnet-version == '8.0'
37+
if: matrix.os == 'ubuntu-latest' && matrix.dotnet-version == '10.0'
3838
run: |
3939
dotnet test --configuration Release --collect:"XPlat Code Coverage" --results-directory ./coverage
4040
4141
- name: Upload coverage to Codecov
42-
if: matrix.os == 'ubuntu-latest' && matrix.dotnet-version == '8.0'
42+
if: matrix.os == 'ubuntu-latest' && matrix.dotnet-version == '10.0'
4343
uses: codecov/codecov-action@v4
4444
with:
4545
directory: ./coverage

src/ToonFormat/ToonFormat.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<LangVersion>latest</LangVersion>

tests/ToonFormat.Tests/ToonFormat.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

0 commit comments

Comments
 (0)