From c95b057cdc5eb8303d53cd428c2aaf486b0dadb7 Mon Sep 17 00:00:00 2001 From: Serge Zaitsev Date: Mon, 20 Oct 2025 16:21:44 +0200 Subject: [PATCH] Chore: Use go-version-file again instead of an explicit version (#112644) * use go-version-file again instead of an explicit version * try setup-to 6.0.0 --- .github/workflows/backend-code-checks.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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