diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index baa4e2fa9..75b885433 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -46,7 +46,7 @@ jobs: run: > echo ${{ inputs.project }} | sed 's/.*\//name=/' >> "$GITHUB_OUTPUT" - uses: actions/checkout@v4 - - name: Setup .NET Core SDK 7 + - name: Setup .NET Core SDK 8 uses: actions/setup-dotnet@v4 with: dotnet-version: "8.0.x" diff --git a/.github/workflows/publish-api.yaml b/.github/workflows/publish-api.yaml index e20802dfd..1a06f276a 100644 --- a/.github/workflows/publish-api.yaml +++ b/.github/workflows/publish-api.yaml @@ -15,6 +15,7 @@ env: jobs: build: + name: Build uses: ./.github/workflows/publish.yaml with: ref: main @@ -22,6 +23,7 @@ jobs: image-name: "dragalia-api" secrets: inherit deploy: + name: Deploy needs: build uses: ./.github/workflows/deploy.yaml with: diff --git a/.github/workflows/publish-statemanager.yaml b/.github/workflows/publish-statemanager.yaml index 30dcbcc65..1a7588846 100644 --- a/.github/workflows/publish-statemanager.yaml +++ b/.github/workflows/publish-statemanager.yaml @@ -15,6 +15,7 @@ env: jobs: build: + name: Build uses: ./.github/workflows/publish.yaml with: ref: main @@ -22,6 +23,7 @@ jobs: image-name: "photon-state-manager" secrets: inherit deploy: + name: Deploy needs: build uses: ./.github/workflows/deploy.yaml with: diff --git a/.github/workflows/test-report.yaml b/.github/workflows/test-report.yaml index 6d4ac1524..3fa2e552a 100644 --- a/.github/workflows/test-report.yaml +++ b/.github/workflows/test-report.yaml @@ -2,7 +2,7 @@ name: "test-report" on: workflow_run: - workflows: ["test"] + workflows: ["Test API", "Test PhotonStateManager"] types: - completed diff --git a/.github/workflows/test-statemanager.yaml b/.github/workflows/test-statemanager.yaml index 07b3c30a0..f38025eca 100644 --- a/.github/workflows/test-statemanager.yaml +++ b/.github/workflows/test-statemanager.yaml @@ -19,8 +19,8 @@ on: - Directory.Packages.props jobs: - integration-test: - name: Integration test + test: + name: Test uses: ./.github/workflows/integration-test.yaml with: project: PhotonStateManager/DragaliaAPI.Photon.StateManager.Test diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index af17f3f69..dab3f5896 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -18,7 +18,7 @@ jobs: run: > echo ${{ matrix.project }} | sed 's/.*\//name=/' >> "$GITHUB_OUTPUT" - uses: actions/checkout@v4 - - name: Setup .NET Core SDK 7 + - name: Setup .NET Core SDK 8 uses: actions/setup-dotnet@v4 with: dotnet-version: "8.0.x" diff --git a/DragaliaAPI/DragaliaAPI/Program.cs b/DragaliaAPI/DragaliaAPI/Program.cs index 3c156694b..e0214da95 100644 --- a/DragaliaAPI/DragaliaAPI/Program.cs +++ b/DragaliaAPI/DragaliaAPI/Program.cs @@ -37,6 +37,7 @@ .AddJsonFile("dragonfruitOdds.json", optional: false, reloadOnChange: true) .Build(); +// Test builder.WebHost.UseStaticWebAssets(); builder diff --git a/PhotonStateManager/DragaliaAPI.Photon.StateManager/Program.cs b/PhotonStateManager/DragaliaAPI.Photon.StateManager/Program.cs index 1e5a3d207..a9d79119b 100644 --- a/PhotonStateManager/DragaliaAPI.Photon.StateManager/Program.cs +++ b/PhotonStateManager/DragaliaAPI.Photon.StateManager/Program.cs @@ -8,9 +8,6 @@ using Serilog; using StackExchange.Redis; -// test - - WebApplicationBuilder builder = WebApplication.CreateBuilder(args); Log.Logger = new LoggerConfiguration().WriteTo.Console().CreateLogger();