From dfca241b42fd7b80bf66eba5b2feee0246dcfe95 Mon Sep 17 00:00:00 2001 From: Cleilson Pereira Date: Sun, 22 Nov 2026 16:54:58 +0000 Subject: [PATCH] ci: avoid setup-go cache reservation races --- .github/workflows/ci-security.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-security.yml b/.github/workflows/ci-security.yml index 82dbf80..a27fdb4 100644 --- a/.github/workflows/ci-security.yml +++ b/.github/workflows/ci-security.yml @@ -113,7 +113,10 @@ jobs: uses: actions/setup-go@d8cbb8045d7f43706b9177cceb36c1f91a6644d5 # v7.1.0 with: go-version: ${{ env.GO_VERSION }} - cache: true + # The parallel matrix jobs share the same go.sum and therefore the + # same setup-go cache key. Let the build job own that cache to avoid + # concurrent post-job writers racing to reserve one key. + cache: false - name: Run Go tests # The server suite starts background workers that currently expose