Skip to content

Add code coverage test when PR submitted #21

Add code coverage test when PR submitted

Add code coverage test when PR submitted #21

name: Workflow validation
on:
pull_request:
paths:
- '.github/workflows/*'
workflow_dispatch:
workflow_call:
jobs:
workflow_validation:
name: Workflow validation
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- 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 {}