From df35124e5ceed902450c7cbc2f221804b0f8fcb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20R=C3=A4tzel?= Date: Sat, 18 Jan 2025 18:55:53 +0000 Subject: [PATCH] Switch to .NET version 9 and update dependencies --- .github/workflows/build-native-tools.yml | 2 +- .github/workflows/publish-to-release.yml | 2 +- .github/workflows/test-and-publish.yml | 2 +- azure-pipelines.yml | 2 +- implement/Dockerfile | 4 ++-- implement/Pine.Core/Pine.Core.csproj | 12 ++++++------ .../Pine.UnitTests/Pine.UnitTests.csproj | 7 ++++--- implement/native-tools/native-tools.csproj | 2 +- implement/pine/Program.cs | 2 +- implement/pine/pine.csproj | 16 ++++++++-------- implement/prebuild/prebuild.csproj | 8 ++++---- implement/test-elm-time/test-elm-time.csproj | 10 ++++++---- 12 files changed, 36 insertions(+), 33 deletions(-) diff --git a/.github/workflows/build-native-tools.yml b/.github/workflows/build-native-tools.yml index dd036c40f..120d30702 100644 --- a/.github/workflows/build-native-tools.yml +++ b/.github/workflows/build-native-tools.yml @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.404' + dotnet-version: '9.0.102' - name: Try use dotnet run: dotnet --info diff --git a/.github/workflows/publish-to-release.yml b/.github/workflows/publish-to-release.yml index bc1120cdc..51da98827 100644 --- a/.github/workflows/publish-to-release.yml +++ b/.github/workflows/publish-to-release.yml @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.404' + dotnet-version: '9.0.102' - name: Try use dotnet run: dotnet --info diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index 93083c49f..2863207d3 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -27,7 +27,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.404' + dotnet-version: '9.0.102' - name: Try use dotnet run: dotnet --info diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6475784a3..a4ad364a2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,7 @@ steps: - task: UseDotNet@2 inputs: packageType: 'sdk' # Options: runtime, sdk - version: '8.0.404' + version: '9.0.102' includePreviewVersions: true - script: dotnet --version diff --git a/implement/Dockerfile b/implement/Dockerfile index 3a906ca2c..bf4102e86 100644 --- a/implement/Dockerfile +++ b/implement/Dockerfile @@ -1,5 +1,5 @@ # Build dotnet build image -FROM mcr.microsoft.com/dotnet/sdk:8.0.404 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:9.0.102 AS build-env WORKDIR /app # Copy everything and build @@ -12,7 +12,7 @@ WORKDIR /app/pine RUN dotnet publish -o out # Build runtime image -FROM mcr.microsoft.com/dotnet/aspnet:8.0.11 AS binaries +FROM mcr.microsoft.com/dotnet/aspnet:9.0.1 AS binaries COPY --from=build-env /app/pine/out /pine/dotnet/ diff --git a/implement/Pine.Core/Pine.Core.csproj b/implement/Pine.Core/Pine.Core.csproj index e07324cc9..b02d75b62 100644 --- a/implement/Pine.Core/Pine.Core.csproj +++ b/implement/Pine.Core/Pine.Core.csproj @@ -1,17 +1,17 @@ - net8.0 + net9.0 enable - 0.3.32 - 0.3.32 + 0.3.33 + 0.3.33 true Pine.Core - 0.3.32 - The cross-platform Elm runtime environment + 0.3.33 + Elm DevTools and runtime Functional;Elm;Runtime;Compiler;VM;DBMS https://github.com/pine-vm/pine.git https://pine-vm.org @@ -41,7 +41,7 @@ - + diff --git a/implement/PineTest/Pine.UnitTests/Pine.UnitTests.csproj b/implement/PineTest/Pine.UnitTests/Pine.UnitTests.csproj index 5177e01c7..2d13f455e 100644 --- a/implement/PineTest/Pine.UnitTests/Pine.UnitTests.csproj +++ b/implement/PineTest/Pine.UnitTests/Pine.UnitTests.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable @@ -10,9 +10,10 @@ + - - + + diff --git a/implement/native-tools/native-tools.csproj b/implement/native-tools/native-tools.csproj index 1828f6bb3..dc9c3f30e 100644 --- a/implement/native-tools/native-tools.csproj +++ b/implement/native-tools/native-tools.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net9.0 native_tools enable true diff --git a/implement/pine/Program.cs b/implement/pine/Program.cs index 9d4b5d144..3fd43d3e1 100644 --- a/implement/pine/Program.cs +++ b/implement/pine/Program.cs @@ -24,7 +24,7 @@ namespace ElmTime; public class Program { - public static string AppVersionId => "0.3.32"; + public static string AppVersionId => "0.3.33"; private static int AdminInterfaceDefaultPort => 4000; diff --git a/implement/pine/pine.csproj b/implement/pine/pine.csproj index 6f870f927..01141c08b 100644 --- a/implement/pine/pine.csproj +++ b/implement/pine/pine.csproj @@ -2,18 +2,18 @@ Exe - net8.0 + net9.0 pine Pine - 0.3.32 - 0.3.32 + 0.3.33 + 0.3.33 enable true - Runtime environment for the Elm programming language - Elm;Runtime;DBMS + Elm DevTools and runtime + Elm;DevTools;Runtime;DBMS https://github.com/pine-vm/pine.git https://pine-vm.org README.md @@ -45,10 +45,10 @@ - - + + - + diff --git a/implement/prebuild/prebuild.csproj b/implement/prebuild/prebuild.csproj index e346c7b44..b144a5ebd 100644 --- a/implement/prebuild/prebuild.csproj +++ b/implement/prebuild/prebuild.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net9.0 enable - - - + + + diff --git a/implement/test-elm-time/test-elm-time.csproj b/implement/test-elm-time/test-elm-time.csproj index 995d285f1..106012618 100644 --- a/implement/test-elm-time/test-elm-time.csproj +++ b/implement/test-elm-time/test-elm-time.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 TestElmTime false @@ -14,15 +14,17 @@ - + + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all +