Skip to content

Commit

Permalink
[release 1.11] fix sanity: use specific versions for goimports and gi…
Browse files Browse the repository at this point in the history
…nkgo (#3127)

Signed-off-by: Nahshon Unna-Tsameret <nunnatsa@redhat.com>
  • Loading branch information
nunnatsa authored Oct 3, 2024
1 parent 052516f commit 6466580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sanity: generate generate-doc validate-no-offensive-lang goimport lint-metrics
git difftool -y --trust-exit-code --extcmd=./hack/diff-csv.sh

goimport:
go install golang.org/x/tools/cmd/goimports@latest
go install golang.org/x/tools/cmd/goimports@v0.24.0
goimports -w -local="kubevirt.io,github.com/kubevirt,github.com/kubevirt/hyperconverged-cluster-operator" $(shell find . -type f -name '*.go' ! -path "*/vendor/*" ! -path "./_kubevirtci/*" ! -path "*zz_generated*" )


Expand Down

0 comments on commit 6466580

Please sign in to comment.