Skip to content

Commit 2770408

Browse files
try actionlint
1 parent 0781052 commit 2770408

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/versioning.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
steps:
2323
- name: Debug dump
2424
uses: crazy-max/ghaction-dump-context@v2
25+
2526
- if: runner.debug == '1'
2627
uses: mxschmitt/action-tmate@v3
2728

@@ -36,6 +37,14 @@ jobs:
3637
with:
3738
path: pr
3839

40+
- name: Lint actions
41+
run: |
42+
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
43+
./actionlint -color
44+
shell: bash
45+
with:
46+
working-directory: pr
47+
3948
- name: Install packages
4049
run: npm install yaml semver
4150

0 commit comments

Comments
 (0)