diff --git a/go.mod b/go.mod index e0465187..d8194148 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/tools/gofumpt/go.mod b/tools/gofumpt/go.mod index 404fc9fb..bac54067 100644 --- a/tools/gofumpt/go.mod +++ b/tools/gofumpt/go.mod @@ -1,8 +1,6 @@ module _ -go 1.21 - -toolchain go1.21.0 +go 1.20 require mvdan.cc/gofumpt v0.5.0 diff --git a/tools/goimports/go.mod b/tools/goimports/go.mod index 194cad8a..11f4e35f 100644 --- a/tools/goimports/go.mod +++ b/tools/goimports/go.mod @@ -1,8 +1,6 @@ module _ -go 1.21 - -toolchain go1.21.0 +go 1.20 require golang.org/x/tools v0.12.0 diff --git a/tools/golangci-lint/go.mod b/tools/golangci-lint/go.mod index 42a0e878..ecf4af90 100644 --- a/tools/golangci-lint/go.mod +++ b/tools/golangci-lint/go.mod @@ -1,8 +1,6 @@ module _ -go 1.21 - -toolchain go1.21.0 +go 1.20 require github.com/golangci/golangci-lint v1.54.2