diff --git a/.github/workflows/binaries-build.yml b/.github/workflows/binaries-build.yml index 1aed3ca..832e4dc 100644 --- a/.github/workflows/binaries-build.yml +++ b/.github/workflows/binaries-build.yml @@ -14,8 +14,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x - + dotnet-version: 9.0.x - name: Publish run: | dotnet publish ./Quali.Torque.Cli --self-contained -r osx-x64 -c release -o ./osx-x64 -p:PublishSingleFile=true diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 27d679a..e0c0049 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -19,7 +19,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 9.0.x - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/release_nuget.yml b/.github/workflows/release_nuget.yml index 1109459..9c1fbf3 100644 --- a/.github/workflows/release_nuget.yml +++ b/.github/workflows/release_nuget.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Verify commit exists in origin/master run: | diff --git a/Quali.Torque.Cli.Tests.Unit/Quali.Torque.Cli.Tests.Unit.csproj b/Quali.Torque.Cli.Tests.Unit/Quali.Torque.Cli.Tests.Unit.csproj index db16da5..a419c86 100644 --- a/Quali.Torque.Cli.Tests.Unit/Quali.Torque.Cli.Tests.Unit.csproj +++ b/Quali.Torque.Cli.Tests.Unit/Quali.Torque.Cli.Tests.Unit.csproj @@ -1,7 +1,7 @@ - net7.0 + net9.0 enable disable diff --git a/Quali.Torque.Cli/Dockerfile b/Quali.Torque.Cli/Dockerfile index ff834eb..e1d21b7 100644 --- a/Quali.Torque.Cli/Dockerfile +++ b/Quali.Torque.Cli/Dockerfile @@ -1,5 +1,5 @@ # The version is pinned because of a bug (https://github.com/dotnet/sdk/issues/28971#issuecomment-1309328718) -FROM mcr.microsoft.com/dotnet/sdk:7.0.100-preview.2 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env LABEL org.opencontainers.image.source="https://github.com/QualiNext/torque-cli" WORKDIR /Quali.Torque.Cli @@ -14,7 +14,7 @@ RUN dotnet publish -c Release -o out # RUN dotnet publish "./Quali.Torque.Cli/Quali.Torque.Cli.csproj" -c Release -o out # Build runtime image -FROM mcr.microsoft.com/dotnet/runtime:7.0 +FROM mcr.microsoft.com/dotnet/runtime:9.0 LABEL org.opencontainers.image.source="https://github.com/QualiNext/torque-cli" WORKDIR /Quali.Torque.Cli COPY --from=build-env /Quali.Torque.Cli/out . diff --git a/Quali.Torque.Cli/Quali.Torque.Cli.csproj b/Quali.Torque.Cli/Quali.Torque.Cli.csproj index 80a66ce..f9aedd1 100644 --- a/Quali.Torque.Cli/Quali.Torque.Cli.csproj +++ b/Quali.Torque.Cli/Quali.Torque.Cli.csproj @@ -4,7 +4,7 @@ Exe true torque-cli - net7.0 + net9.0 enable disable torque-cli @@ -13,11 +13,11 @@ - - - - - + + + + +