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: