diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87534da..7d95ef1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,8 +21,11 @@ jobs: with: go-version: ${{ env.GOLANG_VERSION }} - - name: Setup golangci-lint - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s ${{ env.GOLANGCI_LINT_VERSION }} + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.54 + args: --timeout=10m - name: Test run: make test diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 58b3c1d..61bb135 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,8 +22,11 @@ jobs: with: go-version: ${{ env.GOLANG_VERSION }} - - name: Setup golangci-lint - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s ${{ env.GOLANGCI_LINT_VERSION }} + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: v1.54 + args: --timeout=10m - name: Test run: make test