From f9dbd75075fee5d672aa8a7c02f60ed00deafe49 Mon Sep 17 00:00:00 2001 From: Frank Zhu Date: Fri, 22 Sep 2023 16:53:38 -0500 Subject: [PATCH] correct place --- .github/actions/ci-golang-lint/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/ci-golang-lint/action.yml b/.github/actions/ci-golang-lint/action.yml index ca3a9dbb0f8..906e4b2bc9d 100644 --- a/.github/actions/ci-golang-lint/action.yml +++ b/.github/actions/ci-golang-lint/action.yml @@ -53,7 +53,6 @@ runs: run: go build - name: golangci-lint uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0 - working-directory: ${{ inputs.go-directory }} with: version: v1.54.2 # We already cache these directories in setup-go @@ -62,6 +61,7 @@ runs: # only-new-issues is only applicable to PRs, otherwise it is always set to false only-new-issues: true args: --out-format colored-line-number,checkstyle:golangci-lint-report.xml + working-directory: ${{ inputs.go-directory }} - name: Store lint report artifact if: always() uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0