We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5af714f commit bf49130Copy full SHA for bf49130
.github/workflows/actionlint.yml
@@ -0,0 +1,27 @@
1
+name: actionlint
2
+
3
+on:
4
+ push:
5
+ merge_group:
6
+ pull_request:
7
8
+jobs:
9
+ actionlint:
10
+ runs-on: ubuntu-latest
11
+ timeout-minutes: 5
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v5
15
+ # Taken from https://github.com/rhysd/actionlint/blob/v1.7.7/docs/usage.md#use-actionlint-on-github-actions
16
+ - name: Download actionlint
17
+ id: get_actionlint
18
+ run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
19
+ shell: bash
20
+ - name: Check workflow files
21
+ run: |
22
+ for file in $(git ls-files .github/workflows/*)
23
+ do
24
+ echo "Checking $file"
25
+ ${{ steps.get_actionlint.outputs.executable }} -color $file || exit 1
26
+ done
27
0 commit comments