Skip to content

build(deps): bump asdf-vm/actions from 2 to 3 #36

build(deps): bump asdf-vm/actions from 2 to 3

build(deps): bump asdf-vm/actions from 2 to 3 #36

name: Validate workflows files
on:
push:
branches:
- main
paths:
- '.github/workflows/*.yml'
pull_request:
paths:
- '.github/workflows/*.yml'
jobs:
validate:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install action-validator with asdf
uses: asdf-vm/actions/install@v3
with:
tool_versions: |
action-validator 0.5.3
- name: Lint Workflows
run: |
find .github/workflows -type f \( -iname \*.yaml -o -iname \*.yml \) \
| xargs -I {} action-validator --verbose {}