From 24dbbdbbeda1b7c28a07efd89283d5f165fc9f19 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Mon, 5 Oct 2026 01:56:05 +0200 Subject: [PATCH] build: raise the Go floor to 1.27.1 Raise the Go floor to 1.27.1. - go.mod: go 1.26.4 -> 1.27.1 - benchmarks/go.mod: go 1.26.4 -> 1.27.1 - ci.yml: go-version stable -> 1.27.1 - go build ./... (host) ok Part of the fleet move to Go 1.27.1. Known risk, accepted: go1.27.0 and go1.27.1 still miscompile one loong64 pattern (golang/go#81000, backport golang/go#81147 pending for 1.27.2). Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 8 ++++---- benchmarks/go.mod | 2 +- go.mod | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c289e56..06cf311 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,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 ./... @@ -51,7 +51,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 ./... arch-qemu: @@ -69,7 +69,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: stable + go-version: 1.27.1 - run: sudo apt-get update && sudo apt-get install -y qemu-user-static - name: Test under qemu (${{ matrix.goarch }}) run: GOARCH=${{ matrix.goarch }} go test -exec=${{ matrix.qemu }} ./... @@ -85,6 +85,6 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-go@v7 with: - go-version: stable + go-version: 1.27.1 - name: Build ${{ matrix.goos }}/wasm run: GOOS=${{ matrix.goos }} GOARCH=wasm go build ./... diff --git a/benchmarks/go.mod b/benchmarks/go.mod index e2158dc..f09fcd4 100644 --- a/benchmarks/go.mod +++ b/benchmarks/go.mod @@ -5,7 +5,7 @@ // from inside this directory, or via `benchmarks/run.sh`. module github.com/go-ruby-parser/parser/benchmarks -go 1.26.4 +go 1.27.1 require github.com/go-ruby-parser/parser v0.8.0 diff --git a/go.mod b/go.mod index 3c23ad4..cf36984 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/go-ruby-parser/parser -go 1.26.4 +go 1.27.1