diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index e16ece52..e4500fd6 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -17,6 +17,5 @@ jobs: go-version-file: "go.mod" check-latest: true - run: go install golang.org/x/tools/cmd/goimports@latest - - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s - -b $(go env GOPATH)/bin v1.49.0 - - run: echo "PATH=$PATH:/home/runner/go/bin" >> $GITHUB_ENV + - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.0 - uses: pre-commit/action@v2.0.2