From 986c3da1dc568440fe7da02b4aa703b02f1f3d57 Mon Sep 17 00:00:00 2001 From: Nicholas Wiersma Date: Mon, 13 Mar 2023 08:11:46 +0200 Subject: [PATCH] chore: use builtin action linter package (#1836) * chore: use builtin action linter package * fix: skip caches in golangci-lint --------- Co-authored-by: Manu Gupta --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b9642c9..b24f9cbe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ on: jobs: lint: runs-on: ubuntu-latest + env: + GOLANGCI_LINT_VERSION: v1.51.2 + steps: - uses: actions/checkout@v3 - name: Set up Go @@ -15,7 +18,11 @@ jobs: go-version-file: 'go.mod' cache: true - name: Lint code - run: make lint-docker + uses: golangci/golangci-lint-action@v3 + with: + version: ${{ env.GOLANGCI_LINT_VERSION }} + skip-pkg-cache: true + skip-build-cache: true build: env: