diff --git a/.github/workflows/internal_tests.yaml b/.github/workflows/internal_tests.yaml index efa9e877..5e5e337f 100644 --- a/.github/workflows/internal_tests.yaml +++ b/.github/workflows/internal_tests.yaml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: 1.25 + go-version: 1.26 - name: Ensure No Formatting Changes run: | diff --git a/.github/workflows/planner_integration.yaml b/.github/workflows/planner_integration.yaml index a62716a2..9515379a 100644 --- a/.github/workflows/planner_integration.yaml +++ b/.github/workflows/planner_integration.yaml @@ -37,7 +37,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: 1.25 + go-version: 1.26 - name: Wait for rabbitmq run: | diff --git a/.github/workflows/webhook_gateway_integration.yaml b/.github/workflows/webhook_gateway_integration.yaml index 64374bee..fcfe9968 100644 --- a/.github/workflows/webhook_gateway_integration.yaml +++ b/.github/workflows/webhook_gateway_integration.yaml @@ -37,7 +37,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: 1.25 + go-version: 1.26 - name: Wait for rabbitmq run: | diff --git a/internal/planner/server_test.go b/internal/planner/server_test.go index 50c8eebf..49be66e7 100644 --- a/internal/planner/server_test.go +++ b/internal/planner/server_test.go @@ -660,7 +660,7 @@ func TestGetFlavorPressure(t *testing.T) { name: "shouldFailWhenNameMissing", method: http.MethodGet, url: "/api/v1/flavors//pressure", - expectedStatus: http.StatusMovedPermanently, + expectedStatus: http.StatusTemporaryRedirect, }, { name: "shouldFailForNonGetMethod", method: http.MethodPost, @@ -1178,7 +1178,7 @@ func TestGetJob(t *testing.T) { name: "shouldFailWhenPlatformMissing", method: http.MethodGet, url: "/api/v1/jobs//job-1", - expectedStatus: http.StatusMovedPermanently, + expectedStatus: http.StatusTemporaryRedirect, }, { name: "shouldFailOnDatabaseError", listJobsErr: errors.New("database error"), @@ -1476,7 +1476,7 @@ func TestUpdateJob(t *testing.T) { method: http.MethodPatch, url: "/api/v1/jobs//job-7", body: fmt.Sprintf(`{"started_at":"%s"}`, newStartedAt.Format(time.RFC3339Nano)), - expectedStatus: http.StatusMovedPermanently, + expectedStatus: http.StatusTemporaryRedirect, }, { name: "shouldFailWhenIdMissing", jobs: map[string]*database.Job{