Skip to content

Commit 5213183

Browse files
committed
chore: Update Go version to 1.24.1 and golangci-lint to v2.0.2 in CI workflow; adjust go.mod dependencies
1 parent 2a58057 commit 5213183

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: "1.22.1"
19+
go-version: "1.24.1"
2020
check-latest: true
2121

2222
- name: Install golangci-lint
23-
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
23+
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.0.2
2424

2525
- name: Add golangci-lint to PATH
2626
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH

go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ go 1.23.0
44

55
toolchain go1.24.1
66

7-
require gopkg.in/yaml.v3 v3.0.1
8-
97
require (
10-
golang.org/x/sys v0.31.0 // indirect
11-
golang.org/x/term v0.30.0 // indirect
8+
golang.org/x/term v0.30.0
9+
gopkg.in/yaml.v3 v3.0.1
1210
)
1311

12+
require golang.org/x/sys v0.31.0 // indirect
13+
1414
require (
1515
github.com/davecgh/go-spew v1.1.1 // indirect
1616
github.com/pmezard/go-difflib v1.0.0 // indirect

0 commit comments

Comments
 (0)