From 0065127ec22c15c9def93082e5e06e8e613cbbc8 Mon Sep 17 00:00:00 2001 From: DoDiODev Date: Wed, 23 Sep 2026 14:45:55 +0200 Subject: [PATCH] build(ci): pin Go in migration-script-lint like the other container jobs The job runs in mericodev/lake-builder:latest, which still ships Go 1.20.4, while go.mod declares go 1.26. test.yml, test-e2e.yml and golangci-lint.yml already install the pinned toolchain via backend/scripts/install-go.sh; this job was the only container job left out. It currently passes because Go <= 1.20 does not treat a higher go directive as a hard error, but it compiles and runs the linter under a language version six major releases behind what the project declares. The step is idempotent and costs 2.8 seconds when nothing is pre-installed, on a job of roughly 45 seconds. libgit2 and mockery are not needed here. --- .github/workflows/migration-script-lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/migration-script-lint.yml b/.github/workflows/migration-script-lint.yml index 42ae68bfc9a..e40be0558ab 100644 --- a/.github/workflows/migration-script-lint.yml +++ b/.github/workflows/migration-script-lint.yml @@ -30,6 +30,8 @@ jobs: container: mericodev/lake-builder:latest steps: - uses: actions/checkout@v7 + - name: Install Go 1.26.6 + run: backend/scripts/install-go.sh - name: migration script linting run: | go version