Skip to content

Commit 395e714

Browse files
authored
CI: use GOTOOLCHAIN=auto when running modernize (#6453)
1 parent b80457c commit 395e714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ fix: build
107107
$(GOBIN)/algofix */
108108

109109
modernize:
110-
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -category minmax,slicescontains,sortslice,stringscutprefix,mapsloop -fix -test ./...
110+
GOTOOLCHAIN=auto go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -category minmax,slicescontains,sortslice,stringscutprefix,mapsloop -fix -test ./...
111111

112112
lint: deps
113113
$(GOBIN)/golangci-lint run -c .golangci.yml

0 commit comments

Comments
 (0)