mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-06 13:00:59 -04:00
Update go to 1.26
Dependabot PRs that update golang.org/x modules fail on CI. These modules now require go 1.26, but CI runs 1.25. The golang.org/x modules require the oldest Go release that is still supported, and since Go 1.27 came out, this is 1.26. Stop at 1.26 rather than going to 1.27. The go version in go.mod is the minimum for everyone who builds lazygit from source, and Go 1.27 is only two months old. Also, Go 1.27 requires macOS 13, so release binaries built with it would no longer run on macOS 12. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5e3cd6b540
commit
5ef318ef77
@@ -1,7 +1,7 @@
|
||||
name: Continuous Integration
|
||||
|
||||
env:
|
||||
GO_VERSION: 1.25.x
|
||||
GO_VERSION: 1.26.x
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
@@ -162,7 +162,7 @@ jobs:
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v7
|
||||
with:
|
||||
go-version: 1.25.x
|
||||
go-version: 1.26.x
|
||||
|
||||
- name: Run goreleaser
|
||||
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
version: "2"
|
||||
run:
|
||||
go: "1.25"
|
||||
go: "1.26"
|
||||
issues:
|
||||
max-issues-per-linter: 0
|
||||
max-same-issues: 0
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
# docker build -t lazygit .
|
||||
# docker run -it lazygit:latest /bin/sh
|
||||
|
||||
FROM golang:1.25 as build
|
||||
FROM golang:1.26 as build
|
||||
WORKDIR /go/src/github.com/jesseduffield/lazygit/
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
Reference in New Issue
Block a user