diff --git a/.github/workflows/build-backend.yml b/.github/workflows/build-backend.yml index 4b52fce..7273748 100644 --- a/.github/workflows/build-backend.yml +++ b/.github/workflows/build-backend.yml @@ -15,18 +15,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.x + dotnet-version: 9.x - name: Build .NET Backend run: dotnet publish Savings.API.csproj -o "output" -c "Release" working-directory: ./src/Savings.API - name: Upload a Build Artifact - uses: actions/upload-artifact@v3.1.1 + uses: actions/upload-artifact@v4 with: name: savings-backend path: ./src/Savings.API/output/* diff --git a/.github/workflows/build-frontend.yml b/.github/workflows/build-frontend.yml index 6d9f01b..f641ff4 100644 --- a/.github/workflows/build-frontend.yml +++ b/.github/workflows/build-frontend.yml @@ -14,19 +14,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.x + dotnet-version: 9.x - name: Build .NET Frontend run: dotnet publish Savings.SPA.csproj -o "output" -c "Release" working-directory: ./src/Savings.SPA - name: Upload a Build Artifact - uses: actions/upload-artifact@v3.1.1 + uses: actions/upload-artifact@v4 with: name: savings-frontend path: ./src/Savings.SPA/output/* diff --git a/.github/workflows/deploy-backend.yml b/.github/workflows/deploy-backend.yml index 2314a2d..db30524 100644 --- a/.github/workflows/deploy-backend.yml +++ b/.github/workflows/deploy-backend.yml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: azure/login@v1 + - uses: azure/login@v2 with: creds: ${{ secrets.AZURE_SERVICE_PRINCIPAL }} @@ -27,7 +27,7 @@ jobs: id: extract_branch - name: Download Backend Artifact - uses: dawidd6/action-download-artifact@v2.11.0 + uses: dawidd6/action-download-artifact@v6 with: workflow: build-backend.yml name: savings-backend diff --git a/.github/workflows/deploy-frontend.yml b/.github/workflows/deploy-frontend.yml index ec56786..a7c66de 100644 --- a/.github/workflows/deploy-frontend.yml +++ b/.github/workflows/deploy-frontend.yml @@ -15,9 +15,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: azure/login@v1 + - uses: azure/login@v2 with: creds: ${{ secrets.AZURE_SERVICE_PRINCIPAL }} @@ -29,7 +29,7 @@ jobs: id: extract_branch - name: Download Frontend Artifact - uses: dawidd6/action-download-artifact@v2.11.0 + uses: dawidd6/action-download-artifact@v6 with: workflow: build-frontend.yml name: savings-frontend diff --git a/src/Savings.API/Savings.API.csproj b/src/Savings.API/Savings.API.csproj index 615e336..06f6023 100644 --- a/src/Savings.API/Savings.API.csproj +++ b/src/Savings.API/Savings.API.csproj @@ -1,24 +1,24 @@  - net8.0 + net9.0 enable enable - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + diff --git a/src/Savings.AppHost/Program.cs b/src/Savings.AppHost/Program.cs index 78c1845..6b785a3 100644 --- a/src/Savings.AppHost/Program.cs +++ b/src/Savings.AppHost/Program.cs @@ -5,7 +5,6 @@ builder.AddProject("api"); -builder.AddProject("client") - .WithEndpoint("https", endpoint => endpoint.IsProxied = false); //Disable the proxy in order to allow the WASM debugger to work on the same port configured in the launchSettings.json +builder.AddProject("client"); builder.Build().Run(); diff --git a/src/Savings.AppHost/Savings.AppHost.csproj b/src/Savings.AppHost/Savings.AppHost.csproj index 5da99f1..7b2702a 100644 --- a/src/Savings.AppHost/Savings.AppHost.csproj +++ b/src/Savings.AppHost/Savings.AppHost.csproj @@ -1,8 +1,9 @@ - - + + + Exe - net8.0 + net9.0 enable enable true @@ -10,7 +11,7 @@ - + diff --git a/src/Savings.SPA/Savings.SPA.csproj b/src/Savings.SPA/Savings.SPA.csproj index ec5061a..4443cd0 100644 --- a/src/Savings.SPA/Savings.SPA.csproj +++ b/src/Savings.SPA/Savings.SPA.csproj @@ -1,19 +1,19 @@  - net8.0 + net9.0 enable enable service-worker-assets.js - - - - - + + + + + - + diff --git a/src/Savings.ServiceDefaults/Savings.ServiceDefaults.csproj b/src/Savings.ServiceDefaults/Savings.ServiceDefaults.csproj index 9f4d048..4a16b41 100644 --- a/src/Savings.ServiceDefaults/Savings.ServiceDefaults.csproj +++ b/src/Savings.ServiceDefaults/Savings.ServiceDefaults.csproj @@ -1,7 +1,7 @@ - + - net8.0 + net9.0 enable enable true @@ -10,10 +10,10 @@ - - - - + + + +