This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 603bac1a8 build(ci): pin Go in migration-script-lint like the other 
container jobs (#9096)
603bac1a8 is described below

commit 603bac1a8fc7eb963b40cbe6317d44ab4560f890
Author: Dirk <[email protected]>
AuthorDate: Thu Sep 24 15:32:53 2026 +0200

    build(ci): pin Go in migration-script-lint like the other container jobs 
(#9096)
    
    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 42ae68bfc..e40be0558 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

Reply via email to