Skip to content

Commit 6871b19

Browse files
committed
Update go to 1.25
1 parent cb2b5c3 commit 6871b19

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Continuous Integration
22

33
env:
4-
GO_VERSION: 1.24
4+
GO_VERSION: 1.25
55

66
on:
77
push:
@@ -32,7 +32,7 @@ jobs:
3232
- name: Setup Go
3333
uses: actions/setup-go@v5
3434
with:
35-
go-version: 1.24.x
35+
go-version: 1.25.x
3636
- name: Test code
3737
# we're passing -short so that we skip the integration tests, which will be run in parallel below
3838
run: |
@@ -87,7 +87,7 @@ jobs:
8787
- name: Setup Go
8888
uses: actions/setup-go@v5
8989
with:
90-
go-version: 1.24.x
90+
go-version: 1.25.x
9191
- name: Print git version
9292
run: git --version
9393
- name: Test code
@@ -113,7 +113,7 @@ jobs:
113113
- name: Setup Go
114114
uses: actions/setup-go@v5
115115
with:
116-
go-version: 1.24.x
116+
go-version: 1.25.x
117117
- name: Build linux binary
118118
run: |
119119
GOOS=linux go build
@@ -140,7 +140,7 @@ jobs:
140140
- name: Setup Go
141141
uses: actions/setup-go@v5
142142
with:
143-
go-version: 1.24.x
143+
go-version: 1.25.x
144144
- name: Check Vendor Directory
145145
# ensure our vendor directory matches up with our go modules
146146
run: |
@@ -166,12 +166,12 @@ jobs:
166166
- name: Setup Go
167167
uses: actions/setup-go@v5
168168
with:
169-
go-version: 1.24.x
169+
go-version: 1.25.x
170170
- name: Lint
171171
uses: golangci/golangci-lint-action@v8
172172
with:
173173
# If you change this, make sure to also update scripts/golangci-lint-shim.sh
174-
version: v2.2.1
174+
version: v2.4.0
175175
- name: errors
176176
run: golangci-lint run
177177
if: ${{ failure() }}
@@ -187,7 +187,7 @@ jobs:
187187
- name: Setup Go
188188
uses: actions/setup-go@v5
189189
with:
190-
go-version: 1.24.x
190+
go-version: 1.25.x
191191

192192
- name: Download all coverage artifacts
193193
uses: actions/download-artifact@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
- name: Setup Go
140140
uses: actions/setup-go@v5
141141
with:
142-
go-version: 1.24.x
142+
go-version: 1.25.x
143143

144144
- name: Run goreleaser
145145
uses: goreleaser/goreleaser-action@v6

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: "2"
22
run:
3-
go: "1.24"
3+
go: "1.25"
44
linters:
55
enable:
66
- copyloopvar

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# docker build -t lazygit .
33
# docker run -it lazygit:latest /bin/sh
44

5-
FROM golang:1.24 as build
5+
FROM golang:1.25 as build
66
WORKDIR /go/src/github.com/jesseduffield/lazygit/
77
COPY go.mod go.sum ./
88
RUN go mod download

go.mod

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

3-
go 1.24.0
3+
go 1.25.0
44

55
require (
66
dario.cat/mergo v1.0.1

scripts/golangci-lint-shim.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
set -e
44

55
# Must be kept in sync with the version in .github/workflows/ci.yml
6-
version="v2.2.1"
6+
version="v2.4.0"
77

88
go run "github.com/golangci/golangci-lint/v2/cmd/golangci-lint@$version" "$@"

0 commit comments

Comments
 (0)