Skip to content

Commit 0dff690

Browse files
committed
fix(ci): use rhysd/actionlint action instead of npx
actionlint is a Go binary; there is no npm package by that name. npx --yes actionlint@latest fails with 'could not determine executable to run'. Use the official rhysd/actionlint action instead.
1 parent e612820 commit 0dff690

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ jobs:
1919
- uses: actions/checkout@v6
2020

2121
- name: Validate workflow files
22-
run: |
23-
if ls .github/workflows/*.yml 2>/dev/null; then
24-
npx --yes actionlint@latest .github/workflows/*.yml
25-
else
26-
echo "No workflow files to lint"
27-
fi
22+
uses: rhysd/actionlint@v1.7.12
23+
with:
24+
files: .github/workflows/*.yml

0 commit comments

Comments
 (0)