Skip to content

Commit ec49b67

Browse files
committed
use .net 10 in actions and test project
1 parent 6f3a896 commit ec49b67

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
dotnet: [ '8.0.x' ]
17+
dotnet: [ '10.x' ]
1818

1919
steps:
2020
- name: Checkout repository

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Setup dotnet
1414
uses: actions/setup-dotnet@v5
1515
with:
16-
dotnet-version: '8.0.x'
16+
dotnet-version: '10.x'
1717

1818
# Publish
1919
- name: publish on version change

test/Modrinth.Net.Test/Modrinth.Net.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

88
<IsPackable>false</IsPackable>
99

10-
<LangVersion>12</LangVersion>
10+
<LangVersion>latestmajor</LangVersion>
1111
<UserSecretsId>7946fc6c-e1df-4ca5-957f-cb311e3b435d</UserSecretsId>
1212
</PropertyGroup>
1313

0 commit comments

Comments
 (0)