Skip to content

Commit d1f6123

Browse files
authored
Dotnet 9 (#7)
* Update to dotnet 9.0 * Upgrade NuGet packages * Tests aren't even ran but whatever * Update Dockerfile
1 parent 1ab0503 commit d1f6123

6 files changed

Lines changed: 17 additions & 13 deletions

File tree

.github/workflows/build-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,13 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v2
16+
- name: Setup .NET Core
17+
uses: actions/setup-dotnet@v3.2.0
18+
with:
19+
dotnet-version: 9.0.x
1620
- name: Install dependencies
1721
run: dotnet restore
1822
- name: Build
1923
run: dotnet build --configuration Release --no-restore
2024
# - name: Test
21-
# run: dotnet test --no-restore --verbosity normal
25+
# run: dotnet test --no-restore --verbosity normal

Directory.Packages.props

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="Microsoft.Extensions.Hosting.Systemd" Version="8.0.0" />
6+
<PackageVersion Include="Microsoft.Extensions.Hosting.Systemd" Version="9.0.0" />
77
<!--<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.3.0" />-->
8-
<PackageVersion Include="Microsoft.Data.Sqlite" Version="8.0.1" />
9-
<PackageVersion Include="Dapper" Version="2.1.28" />
10-
<PackageVersion Include="Quartz" Version="3.9.0" />
11-
<PackageVersion Include="Quartz.Extensions.DependencyInjection" Version="3.9.0" />
12-
<PackageVersion Include="Quartz.Extensions.Hosting" Version="3.9.0" />
8+
<PackageVersion Include="Microsoft.Data.Sqlite" Version="9.0.0" />
9+
<PackageVersion Include="Dapper" Version="2.1.35" />
10+
<PackageVersion Include="Quartz" Version="3.13.1" />
11+
<PackageVersion Include="Quartz.Extensions.DependencyInjection" Version="3.13.1" />
12+
<PackageVersion Include="Quartz.Extensions.Hosting" Version="3.13.1" />
1313
<PackageVersion Include="SpaceWizards.Sodium" Version="0.2.1" />
1414
<PackageVersion Include="SharpZstd.Interop" Version="1.5.6" />
1515
<PackageVersion Include="SharpZstd" Version="1.5.6" />

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
1+
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
22

33
# Make volume dirs
44
RUN for DIR in /database /manifest /builds; do mkdir $DIR; chown app: $DIR; done
@@ -7,7 +7,7 @@ USER $APP_UID
77
WORKDIR /app
88
EXPOSE 8080
99

10-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
10+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
1111
ARG BUILD_CONFIGURATION=Release
1212
WORKDIR /src
1313
COPY . .

Robust.Cdn.Downloader/Robust.Cdn.Downloader.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>

Robust.Cdn.Lib/Robust.Cdn.Lib.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

Robust.Cdn/Robust.Cdn.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
8-
<AssemblyVersion>2.2.0</AssemblyVersion>
8+
<AssemblyVersion>2.2.1</AssemblyVersion>
99
</PropertyGroup>
1010

1111
<ItemGroup>

0 commit comments

Comments
 (0)