diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index 746490ee..eb647ffa 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -4,6 +4,9 @@ on: pull_request: branches: [ master, main ] +env: + GOLANGCI_LINT_VERSION: v1.54.2 + jobs: test: name: test @@ -42,8 +45,11 @@ jobs: - name: Install deps run: go mod download - - name: Lint - run: make lint + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: ${{ env.GOLANGCI_LINT_VERSION }} + skip-cache: true - name: Test run: go test -v -race -p=1 -count=1