Skip to content

Commit b805914

Browse files
committed
1 parent c4207ce commit b805914

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/validate.yaml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Actions Workflows
2+
3+
on:
4+
push:
5+
paths:
6+
- ".github/workflows/*"
7+
pull_request:
8+
paths:
9+
- ".github/workflows/*"
10+
11+
jobs:
12+
actions:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
with:
18+
submodules: true
19+
20+
- name: Install action-validator with asdf
21+
uses: asdf-vm/actions/install@v3
22+
with:
23+
tool_versions: |
24+
action-validator 0.5.1
25+
26+
- name: Lint Actions
27+
run: |
28+
find .github/workflows -type f \( -iname \*.yaml -o -iname \*.yml \) \
29+
| xargs -I {} action-validator --verbose {}

0 commit comments

Comments
 (0)