From 8be918ac2bd8f47294371b2f70a43e0e20fee29c Mon Sep 17 00:00:00 2001 From: Charlie Haley Date: Thu, 25 Jan 2024 10:13:12 +0000 Subject: [PATCH] fix: pipeline Signed-off-by: Charlie Haley --- .github/workflows/release.yml | 7 +++++-- .github/workflows/test.yml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) 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