From cb865ec37b17b6f0618240826ecc40ab148254a3 Mon Sep 17 00:00:00 2001 From: Abel Armoa <30988000+aarmoa@users.noreply.github.com> Date: Fri, 31 May 2024 12:03:08 -0300 Subject: [PATCH] (fix) Change in pre-commit workflow config to try and solve the issue that makes the workflow fail --- .github/workflows/pre-commit.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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