Skip to content

Commit e1643af

Browse files
Valentin's suggestion to simplify installing actionlint
Co-authored-by: Valentin Gagarin <[email protected]>
1 parent 3b78081 commit e1643af

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/actionlint.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ jobs:
2424
with:
2525
persist-credentials: false # Because installing actionlint runs arbitrary code, we discard the GITHUB_TOKEN after this step
2626
# Taken from https://github.com/rhysd/actionlint/blob/v1.7.7/docs/usage.md#use-actionlint-on-github-actions
27-
- name: Download actionlint
28-
id: get_actionlint
29-
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
30-
shell: bash
3127
- name: Check workflow files
32-
run: ${{ steps.get_actionlint.outputs.executable }}
33-
shell: bash
28+
run: nix-shell -p actionlint --run actionlint
29+

0 commit comments

Comments
 (0)