diff --git a/.github/workflows/golang_quality.yaml b/.github/workflows/golang_quality.yaml index 21aeab0..f78113b 100644 --- a/.github/workflows/golang_quality.yaml +++ b/.github/workflows/golang_quality.yaml @@ -1,5 +1,10 @@ on: workflow_call: + inputs: + workdir: + required: false + default: "./" + type: string jobs: golangci: @@ -13,4 +18,5 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.59 \ No newline at end of file + version: v1.59 + working-directory: "${{ inputs.workdir }}" \ No newline at end of file diff --git a/.github/workflows/golang_quality_test.yaml b/.github/workflows/golang_quality_test.yaml index 208eb88..ffe9919 100644 --- a/.github/workflows/golang_quality_test.yaml +++ b/.github/workflows/golang_quality_test.yaml @@ -2,4 +2,6 @@ on: push jobs: golang_quality: - uses: ./.github/workflows/golang_quality.yaml \ No newline at end of file + uses: ./.github/workflows/golang_quality.yaml + with: + workdir: "tests/golang_quality" \ No newline at end of file