Skip to content

Commit eed7935

Browse files
The127claude
andcommitted
chore: upgrade Go to 1.27.2 and golangci-lint to v2.14.0
ci takes the newest Go of the line in go.mod, which became 1.27.2. golangci-lint v2.13.2 cannot read what Go 1.27.2 compiles (export data version 5), so the lint of every pull request failed. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: karo <karolin.kostial@gmail.com>
1 parent 98352a3 commit eed7935

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# install only, `just lint` runs it so that ci and the hooks agree
3131
- uses: golangci/golangci-lint-action@v9
3232
with:
33-
version: v2.13.2
33+
version: v2.14.0
3434
install-only: true
3535
# just test-cli runs the built miso from the outside
3636
- uses: bats-core/bats-action@4.0.0

‎CLAUDE.session.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ A fresh container lacks some of the tooling:
2323
- `go install github.com/evilmartians/lefthook@latest`, then `just setup`
2424
- golangci-lint at the version `.github/workflows/ci.yml` pins, built
2525
with the Go version `go.mod` names (an older build refuses the module),
26-
for example `GOTOOLCHAIN=go1.27.0 go install
27-
github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.13.2`
26+
for example `GOTOOLCHAIN=go1.27.2 go install
27+
github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.14.0`
2828

2929
Without `/dev/vhost-vsock` the `internal/qemu` tests fail, and `just vuln`
3030
needs `vuln.go.dev`, which a restricted network blocks. Check that such a

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/The127/miso
22

3-
go 1.27
3+
go 1.27.2
44

55
require (
66
github.com/dustin/go-humanize v1.1.0

‎hack/tools/go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/The127/miso/hack/tools
22

3-
go 1.27
3+
go 1.27.2
44

55
tool github.com/arch-go/arch-go
66

0 commit comments

Comments
 (0)