diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index d2490db..7cf40ef 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -16,7 +16,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
- dotnet-version: 7.0.x
+ dotnet-version: 8.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
diff --git a/Dockerfile b/Dockerfile
index a18e5b3..229dead 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,10 @@
-FROM mcr.microsoft.com/dotnet/sdk:7.0 as builder
+FROM mcr.microsoft.com/dotnet/sdk:8.0 as builder
WORKDIR /repo
COPY . .
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
RUN dotnet publish src/iTool.DiscordBot --configuration Release --output="/app"
-FROM mcr.microsoft.com/dotnet/runtime:7.0
+FROM mcr.microsoft.com/dotnet/runtime:8.0
COPY --from=builder /app /app
WORKDIR /app
VOLUME /app/settings /app/data
diff --git a/NuGet.Config b/NuGet.Config
index b210cc9..208625b 100644
--- a/NuGet.Config
+++ b/NuGet.Config
@@ -2,6 +2,5 @@
-
diff --git a/src/iTool.DiscordBot/iTool.DiscordBot.csproj b/src/iTool.DiscordBot/iTool.DiscordBot.csproj
index b469bc1..9d07f62 100644
--- a/src/iTool.DiscordBot/iTool.DiscordBot.csproj
+++ b/src/iTool.DiscordBot/iTool.DiscordBot.csproj
@@ -1,7 +1,8 @@
-
+
+
Exe
- net7.0
+ net8.0
true
@@ -10,16 +11,16 @@
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/tests/iTool.DiscordBot.Tests/iTool.DiscordBot.Tests.csproj b/tests/iTool.DiscordBot.Tests/iTool.DiscordBot.Tests.csproj
index 530fb36..ba30bc1 100644
--- a/tests/iTool.DiscordBot.Tests/iTool.DiscordBot.Tests.csproj
+++ b/tests/iTool.DiscordBot.Tests/iTool.DiscordBot.Tests.csproj
@@ -1,14 +1,14 @@
- net7.0
+ net8.0
false
-
-
+
+
runtime; build; native; contentfiles; analyzers; buildtransitive
all