Skip to content

Commit

Permalink
FIXME UP, CI: take actionlint from nix-shell
Browse files Browse the repository at this point in the history
  • Loading branch information
smelc committed May 15, 2024
1 parent 5b3632a commit 8f7682b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ jobs:
# Make the Nix environment available to next steps
- uses: rrbutani/use-nix-shell-action@v1

- name: Install actionlint
run: |
# Puts the "actionlint" binary in the working folder
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
- name: actionlint
run: |
for file in $(git ls-files ".github/workflows/*.y*ml")
Expand All @@ -38,7 +33,7 @@ jobs:
then
echo "⚠️ $file is ignored from actionlint's verifications. Please consider fixing it."
else
echo "./actionlint $file"
./actionlint "$file"
echo "actionlint $file"
actionlint "$file"
fi
done

0 comments on commit 8f7682b

Please sign in to comment.