diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c1a3b12..5ee2bf7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -57,7 +57,7 @@ jobs: - name: run goimports working-directory: ./ run: | - go get golang.org/x/tools/cmd/goimports + go install golang.org/x/tools/cmd/goimports@v0.15.0 export PATH=$PATH:$(go env GOPATH)/bin/ diffs=`goimports -d .` if [[ -n $diffs ]]; then