diff --git a/.github/workflows/backend-code-checks.yml b/.github/workflows/backend-code-checks.yml index 0b4fece91ab..0294a121551 100644 --- a/.github/workflows/backend-code-checks.yml +++ b/.github/workflows/backend-code-checks.yml @@ -46,12 +46,9 @@ jobs: with: persist-credentials: false - name: Setup Go - uses: actions/setup-go@v5.5.0 + uses: actions/setup-go@v6.0.0 with: - # Explicitly set Go version to 1.24.1 to ensure consistent OpenAPI spec generation - # The crypto/x509 package has additional fields in Go 1.24.1 that affect the generated specs - # This ensures the GHAs environment matches what we use in the Drone pipeline - go-version: 1.24.1 + go-version-file: go.mod cache: true - name: Verify code generation