From 9b20056a4a8a7d1f7198c7094d2ffb90743b901e Mon Sep 17 00:00:00 2001 From: Junya Okabe Date: Sun, 23 Feb 2025 23:09:57 +0900 Subject: [PATCH] chore: update workflow file --- .github/workflows/pr-request.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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