From 8e93c5f3334989a57954366377f2e95e3987166f Mon Sep 17 00:00:00 2001 From: AbrahamOP Date: Thu, 6 Aug 2026 10:03:35 +0200 Subject: [PATCH] fix(ci): suivre la version Go de go.mod au lieu de figer 1.22 Les PR Dependabot qui remontent go.mod (>= 1.25) echouaient a l'etape go mod download : le runner tourne en Go 1.22 et GOTOOLCHAIN=local interdit de telecharger un toolchain plus recent. --- .github/workflows/ci-deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-deploy.yml b/.github/workflows/ci-deploy.yml index 6eb126a..3cad780 100644 --- a/.github/workflows/ci-deploy.yml +++ b/.github/workflows/ci-deploy.yml @@ -15,7 +15,10 @@ jobs: - uses: actions/setup-go@v7 with: - go-version: '1.22' + # Suit go.mod plutot qu'une version figee : le pin a 1.22 faisait + # echouer toute montee de dependance exigeant un Go plus recent + # (GOTOOLCHAIN=local interdit de telecharger un toolchain). + go-version-file: go.mod - name: Download dependencies run: go mod download