Skip to content

chore: exclude Node 14 and 16 on macos #84

chore: exclude Node 14 and 16 on macos

chore: exclude Node 14 and 16 on macos #84

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 {}