From 468d4e676f25c9df01699c84ce0439c6769c2fac Mon Sep 17 00:00:00 2001 From: Giulio Rebuffo Date: Sun, 10 May 2026 22:02:57 +0200 Subject: [PATCH] ci: bump Go to stable, refresh actions to v5 go.mod declares `go 1.25.5` but the workflow installed Go 1.20, which errors on three-part version directives: go: errors parsing go.mod: /home/runner/work/gevm/gevm/go.mod:3: invalid go version '1.25.5': must match format 1.23 Pin the workflow to Go `stable` (with check-latest so we pick up new 1.25.x patch releases). Also bump `actions/checkout` and `actions/setup-go` to v5 so the runner's deprecation warning about Node 20 goes away (v5 ships on Node 24). Drop the `git submodule update --init --recursive` from the test step: .gitmodules declares fixture submodules but the tree contains no gitlink pointers, so the command was a silent no-op. Fixture-gated tests already self-skip when their env vars (GEVM_TESTS_DIR / etc.) are unset, which they are on stock CI. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/go.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 83cd4cb8..cae38ffa 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,16 +14,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: 'stable' + check-latest: true - name: Build run: go build -v ./... - name: Test - - run: git submodule update --init --recursive && go test -v ./... + run: go test -v ./...