From c3f8bbeb60d177c84982140063337aa3359200d8 Mon Sep 17 00:00:00 2001 From: DoDiODev Date: Tue, 1 Sep 2026 13:58:44 +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 bba0befdafb..499b266a133 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@v6 + - name: Install Go 1.26.6 + run: backend/scripts/install-go.sh - name: migration script linting run: | go version