From fb26b3a4d125efc12fe446cda5bcfe49f83e3527 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Sun, 4 Oct 2026 22:14:40 +0200 Subject: [PATCH] ci: pin Go 1.27.1 instead of `stable` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `stable` is a channel, not a version, so the toolchain moved here with no commit: CI has been building and running on go1.27.1 while go.mod said otherwise, and a MINOR Go bump is the one that reindents under gofmt and changes coverage block counting. It also kept the shared Renovate rule from ever firing. That rule matches dep name `go` under the `gomod` and `github-actions` managers with `automerge: false`, citing golang/go#81000 — and an alias has no version to compare or rewrite. Pinning is what makes the review rule apply at all. Co-Authored-By: Claude Opus 5 --- .github/workflows/arch-qemu-nightly.yml | 2 +- .github/workflows/ci.yml | 10 +++++----- .github/workflows/release.yml | 2 +- .github/workflows/rubyspec-ratchet.yml | 2 +- go.mod | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/arch-qemu-nightly.yml b/.github/workflows/arch-qemu-nightly.yml index c172c348..0e308a2a 100644 --- a/.github/workflows/arch-qemu-nightly.yml +++ b/.github/workflows/arch-qemu-nightly.yml @@ -43,7 +43,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: stable + go-version: '1.27.1' # This has not hung here. It hung in go-crdt/crdt, on the same runner # image and the same one-line install, for the better part of an hour and # more than once — and bounding it is what identified the culprit: three diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 563e3071..71d5e8ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: stable + go-version: '1.27.1' - run: go version - run: go vet ./... - run: go build ./... @@ -106,7 +106,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: stable + go-version: '1.27.1' - run: go env GOARCH && go test ./... # WebAssembly (WASI preview 1) gate: the same interpreter compiled for @@ -123,7 +123,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: stable + go-version: '1.27.1' - run: go version - name: Build rbgo.wasm (CGO=0, GOOS=wasip1) run: CGO_ENABLED=0 GOOS=wasip1 GOARCH=wasm go build -o rbgo.wasm ./cmd/rbgo @@ -175,7 +175,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: stable + go-version: '1.27.1' - uses: actions/setup-node@v7 with: node-version: '24' @@ -246,7 +246,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: stable + go-version: '1.27.1' - uses: actions/setup-node@v7 with: node-version: '24' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c9e772d..9ad90837 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,7 +46,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: stable + go-version: '1.27.1' - name: Build rbgo-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.ext }} env: CGO_ENABLED: '0' diff --git a/.github/workflows/rubyspec-ratchet.yml b/.github/workflows/rubyspec-ratchet.yml index 5de2f411..6467e6ff 100644 --- a/.github/workflows/rubyspec-ratchet.yml +++ b/.github/workflows/rubyspec-ratchet.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: stable + go-version: '1.27.1' - run: go version - name: What the runner has to start with run: | diff --git a/go.mod b/go.mod index 0db7a983..00e31a99 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/go-embedded-ruby/ruby -go 1.26.4 +go 1.27.1 require ( github.com/alicebob/miniredis/v2 v2.39.0