Skip to content

Add unittest

Add unittest #271

name: Workflow validation
on:
push:
paths:
- '.github/workflows/*'
jobs:
workflow_validation:
name: Workflow validation
runs-on: ubuntu-latest
steps:
- name: Checkout checkbox monorepo
uses: actions/checkout@v4
- 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 {}