diff --git a/.github/workflows/pr-linter-check.yml b/.github/workflows/pr-linter-check.yml index f2dc7c6e6c8..221700ecff2 100644 --- a/.github/workflows/pr-linter-check.yml +++ b/.github/workflows/pr-linter-check.yml @@ -8,7 +8,16 @@ jobs: steps: - name: Check out the code - uses: actions/checkout@v2 + uses: actions/checkout@v4 + + - uses: actions/setup-go@v4 + with: + go-version-file: 'go.mod' + cache: false - name: Linter check - run: make lint + uses: golangci/golangci-lint-action@v4 + with: + version: v1.57.2 + args: --verbose +