Skip to content

Commit

Permalink
set proper working directory for test
Browse files Browse the repository at this point in the history
  • Loading branch information
CubicrootXYZ committed Aug 4, 2024
1 parent 6ed0396 commit 0093776
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/golang_quality.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
on:
workflow_call:
inputs:
workdir:
required: false
default: "./"
type: string

jobs:
golangci:
Expand All @@ -13,4 +18,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
version: v1.59
working-directory: "${{ inputs.workdir }}"
4 changes: 3 additions & 1 deletion .github/workflows/golang_quality_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ on: push

jobs:
golang_quality:
uses: ./.github/workflows/golang_quality.yaml
uses: ./.github/workflows/golang_quality.yaml
with:
workdir: "tests/golang_quality"

0 comments on commit 0093776

Please sign in to comment.