diff --git a/.github/workflows/pr-request.yaml b/.github/workflows/pr-request.yaml index c1b8a5b..498eea0 100644 --- a/.github/workflows/pr-request.yaml +++ b/.github/workflows/pr-request.yaml @@ -34,6 +34,11 @@ jobs: with: go-version-file: './go.mod' + - name: golangci-lint + uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0 + with: + version: v1.64 + # TODO: Configure Github Action after getting the Workload Identity Pool for this project # https://github.com/GoogleCloudPlatform/khi/issues/29 # - name: Authenticate to Google Cloud @@ -61,7 +66,6 @@ jobs: - name: Backend Format and Lint Check run: | make check-format-go - make lint-go frontend-tests: runs-on: ubuntu-latest @@ -164,4 +168,4 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | echo "License header check failed.\nConsider running \`make add-license-headers\`.\n(Please check ./scripts/make/codegen.mk for more details.)" > /tmp/comment_body - gh pr comment "${PULL_REQUEST}" -F /tmp/comment_body \ No newline at end of file + gh pr comment "${PULL_REQUEST}" -F /tmp/comment_body