From 5cd94de03d9a88387a497f651783f02ac5d6b498 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 20 Jan 2024 14:20:48 -0600 Subject: bump everything to .net 8 --- .github/workflows/ci.yml | 2 +- Dockerfile | 4 ++-- src/slskd/slskd.csproj | 3 +-- tests/slskd.Tests.Integration/slskd.Tests.Integration.csproj | 2 +- tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30cfefa8..23374c4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: env: - DOTNET_VERSION: '7.0.100' + DOTNET_VERSION: '8' jobs: build: diff --git a/Dockerfile b/Dockerfile index b405eee2..9ffcc2a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN sh ./bin/build --web-only --version $VERSION # build, test, and publish application binaries # note: this needs to be pinned to an amd64 image in order to publish armv7 binaries # https://github.com/dotnet/dotnet-docker/issues/1537#issuecomment-615269150 -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:7.0-bookworm-slim AS publish +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS publish ARG TARGETPLATFORM ARG VERSION=0.0.1.65534-local @@ -32,7 +32,7 @@ RUN bash ./bin/build --dotnet-only --version $VERSION RUN bash ./bin/publish --no-prebuild --platform $TARGETPLATFORM --version $VERSION --output ../../dist/${TARGETPLATFORM} # application -FROM mcr.microsoft.com/dotnet/runtime-deps:7.0-bookworm-slim AS slskd +FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-bookworm-slim AS slskd ARG TARGETPLATFORM ARG TAG=0.0.1 ARG VERSION=0.0.1.65534-local diff --git a/src/slskd/slskd.csproj b/src/slskd/slskd.csproj index b2146d5e..74697ff6 100644 --- a/src/slskd/slskd.csproj +++ b/src/slskd/slskd.csproj @@ -8,8 +8,7 @@ - net7.0 - 9.0 + net8.0 Properties\analysis.ruleset true true diff --git a/tests/slskd.Tests.Integration/slskd.Tests.Integration.csproj b/tests/slskd.Tests.Integration/slskd.Tests.Integration.csproj index cfbd7a5a..2c7285da 100644 --- a/tests/slskd.Tests.Integration/slskd.Tests.Integration.csproj +++ b/tests/slskd.Tests.Integration/slskd.Tests.Integration.csproj @@ -1,7 +1,7 @@  - net7.0 + net8.0 false diff --git a/tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj b/tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj index 776c4e4c..aa5315c9 100644 --- a/tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj +++ b/tests/slskd.Tests.Unit/slskd.Tests.Unit.csproj @@ -1,7 +1,7 @@  - net7.0 + net8.0 false -- cgit v1.2.3