Skip to content

Commit ec5ae32

Browse files
committed
Use v1.7.7 of actionlint
Instead of using actionlint's suggested script for installation (https://github.com/rhysd/actionlint/blob/main/scripts/download-actionlint.bash), dowload directly from releases and execute ourselves
1 parent 31ce584 commit ec5ae32

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/lint_workflows.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- name: Download actionlint
1414
id: get_actionlint
15-
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
15+
run: |
16+
curl -L "https://github.com/rhysd/actionlint/releases/download/v1.7.7/actionlint_1.7.7_linux_amd64.tar.gz" | tar -xvz actionlint
17+
chmod +x actionlint
18+
sudo mv actionlint /usr/local/bin/actionlint
1619
shell: bash
1720
- name: Check workflow files
18-
run: ${{ steps.get_actionlint.outputs.executable }} -color
21+
run: actionlint -color
1922
shell: bash

0 commit comments

Comments
 (0)