We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38f76a1 commit 8ad2f13Copy full SHA for 8ad2f13
.github/workflows/lint.yaml
@@ -21,9 +21,11 @@ jobs:
21
- uses: actions/checkout@v6
22
- uses: actions/setup-go@v6
23
with:
24
- go-version: ${{ env.GO_VERSION }}
+ go-version-file: ./go.mod
25
- id: set-modules
26
- run: echo "modules=$(go list -m -json | jq -s '.' | jq -c '[.[].Dir]')" >> $GITHUB_OUTPUT
+ run: |
27
+ set -eo pipefail
28
+ echo "modules=$(go list -m -json | jq -s '.' | jq -c '[.[].Dir]')" >> "$GITHUB_OUTPUT"
29
30
golangci-lint:
31
needs: detect-modules
0 commit comments