Skip to content

Commit 06ddbbc

Browse files
committed
added goreleaser check on lint
1 parent 0e69099 commit 06ddbbc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/go-lint.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,9 @@ jobs:
3434
version: latest
3535
skip-cache: ${{ inputs.skip-cache }}
3636
args: --timeout=5m
37+
- uses: goreleaser/goreleaser-action@v6
38+
# If the path pattern does not match any files, this returns an empty string.
39+
if: ${{ hashFiles('.goreleaser.yml') != '' }}
40+
with:
41+
args: check
42+

0 commit comments

Comments
 (0)