Skip to content

Commit

Permalink
Revert to go 1.20
Browse files Browse the repository at this point in the history
CodeQL fails on 'go 1.21.0' in go.mod, dependabot fails on 'go 1.21', just use go 1.20 for now
  • Loading branch information
prymitive committed Aug 29, 2023
1 parent 32d972f commit 9e11a05
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/cloudflare/pint

go 1.21

toolchain go1.21.0
go 1.20

require (
github.com/cespare/xxhash/v2 v2.2.0
Expand Down
4 changes: 1 addition & 3 deletions tools/gofumpt/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module _

go 1.21

toolchain go1.21.0
go 1.20

require mvdan.cc/gofumpt v0.5.0

Expand Down
4 changes: 1 addition & 3 deletions tools/goimports/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module _

go 1.21

toolchain go1.21.0
go 1.20

require golang.org/x/tools v0.12.0

Expand Down
4 changes: 1 addition & 3 deletions tools/golangci-lint/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module _

go 1.21

toolchain go1.21.0
go 1.20

require github.com/golangci/golangci-lint v1.54.2

Expand Down

0 comments on commit 9e11a05

Please sign in to comment.