Skip to content

Commit

Permalink
Add a workflow to validate workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
rspier committed May 15, 2024
1 parent c4207ce commit 98526f7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Actions Workflows

on:
push:
paths:
- ".github/workflows/*"
pull_request:
paths:
- ".github/workflows/*"

jobs:
actions:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Install action-validator with asdf
uses: asdf-vm/actions/install@v3
with:
tool_versions: |
action-validator 0.5.1
- name: Lint Actions
run: |
find .github/workflows -type f \( -iname \*.yaml -o -iname \*.yml \) \
| xargs -I {} action-validator --verbose {}
1 change: 1 addition & 0 deletions act
Submodule act added at 988556

0 comments on commit 98526f7

Please sign in to comment.