From 43c59b0101b1822162fb5394d5b1b1d64799b231 Mon Sep 17 00:00:00 2001 From: Frank Zhu Date: Wed, 20 Sep 2023 15:59:17 -0500 Subject: [PATCH] use working-directory flag --- .github/workflows/ci-chaincli.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-chaincli.yml b/.github/workflows/ci-chaincli.yml index 5d9dcb2343f..803841b6ffb 100644 --- a/.github/workflows/ci-chaincli.yml +++ b/.github/workflows/ci-chaincli.yml @@ -27,7 +27,8 @@ jobs: uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0 with: version: v1.54.2 - args: --out-format colored-line-number,checkstyle:golangci-lint-report.xml ./core/scripts/chaincli + working-directory: core/scripts/chaincli + args: --out-format colored-line-number,checkstyle:golangci-lint-report.xml - name: Store lint report artifact if: always() uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0