Skip to content

Commit 02b1861

Browse files
authored
chore: update go to 1.24.1 (#136)
1 parent 909d05a commit 02b1861

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

.github/workflows/ci.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
# Install Go!
3838
- uses: actions/setup-go@v3
3939
with:
40-
go-version: "~1.23"
40+
go-version: "~1.24"
4141

4242
# Check for Go linting errors!
4343
- name: Lint Go
4444
uses: golangci/[email protected]
4545
with:
46-
version: v1.62.2
46+
version: v1.64.8
4747
args: "--out-${NO_FUTURE}format colored-line-number"
4848

4949
- name: Lint shell scripts
@@ -98,7 +98,7 @@ jobs:
9898

9999
- uses: actions/setup-go@v3
100100
with:
101-
go-version: "~1.23"
101+
go-version: "~1.24"
102102

103103
# Sadly the new "set output" syntax (of writing env vars to
104104
# $GITHUB_OUTPUT) does not work on both powershell and bash so we use the
@@ -136,7 +136,7 @@ jobs:
136136

137137
- uses: actions/setup-go@v3
138138
with:
139-
go-version: "~1.23"
139+
go-version: "~1.24"
140140

141141
# Sadly the new "set output" syntax (of writing env vars to
142142
# $GITHUB_OUTPUT) does not work on both powershell and bash so we use the
@@ -170,7 +170,7 @@ jobs:
170170
- uses: actions/checkout@v3
171171
- uses: actions/setup-go@v3
172172
with:
173-
go-version: "~1.23"
173+
go-version: "~1.24"
174174

175175
- name: Go Cache Paths
176176
id: go-cache-paths
@@ -223,7 +223,7 @@ jobs:
223223
- name: Setup Go
224224
uses: actions/setup-go@v3
225225
with:
226-
go-version: "~1.23"
226+
go-version: "~1.24"
227227

228228
- name: Go Cache Paths
229229
id: go-cache-paths
@@ -262,7 +262,7 @@ jobs:
262262

263263
- uses: actions/setup-go@v3
264264
with:
265-
go-version: "~1.23"
265+
go-version: "~1.24"
266266

267267
- name: build image
268268
run: make -j build/image/envbox

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757

5858
- uses: actions/setup-go@v3
5959
with:
60-
go-version: "~1.23"
60+
go-version: "~1.24"
6161

6262
- name: Go Cache Paths
6363
id: go-cache-paths

.golangci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ run:
202202
concurrency: 4
203203
skip-dirs:
204204
- node_modules
205+
- cli/cliflag
205206
skip-files:
206207
- scripts/rules.go
207208
timeout: 5m
@@ -218,7 +219,6 @@ linters:
218219
- errcheck
219220
- errname
220221
- errorlint
221-
- exportloopref
222222
- forcetypeassert
223223
- gocritic
224224
- gocyclo

go.mod

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module github.com/coder/envbox
22

3-
go 1.23.3
3+
go 1.24.1
4+
45
// There are a few minor changes we make to Tailscale that we're slowly upstreaming. Compare here:
56
// https://github.com/tailscale/tailscale/compare/main...coder:tailscale:main
67
replace tailscale.com => github.com/coder/tailscale v1.1.1-0.20240702054557-aa558fbe5374

sysboxutil/manager.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ import (
55
"os"
66
"time"
77

8-
"github.com/coder/envbox/xunix"
98
"golang.org/x/xerrors"
9+
10+
"github.com/coder/envbox/xunix"
1011
)
1112

1213
const ManagerSocketPath = "/run/sysbox/sysmgr.sock"

0 commit comments

Comments
 (0)