Skip to content

Commit 5e56b80

Browse files
alexandearpolyfloyd
authored andcommitted
fix: golang.org/x/tools requires go 1.22
1 parent acfeb93 commit 5e56b80

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/ci.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ jobs:
2020
with:
2121
go-version: stable
2222

23-
- name: Get dependencies
24-
run: go get -v -t -d ./...
23+
- name: Check go mod
24+
run: |
25+
go mod tidy
26+
git diff --exit-code go.mod
27+
git diff --exit-code go.sum
2528
- name: go build
2629
run: go build -v
2730
- name: go test

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/polyfloyd/go-errorlint
22

3-
go 1.20
3+
go 1.22.0
44

55
require golang.org/x/tools v0.27.0
66

go.sum

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
2+
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
23
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4=
34
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
45
golang.org/x/sync v0.9.0 h1:fEo0HyrW1GIgZdpbhCRO0PkJajUS5H9IFUztCgEo2jQ=

0 commit comments

Comments
 (0)