Set up CI to lint workflows with action-validator

This commit is contained in:
Johannes Marbach
2023-11-22 16:13:47 +01:00
parent ea22bcf1eb
commit b0fa486d97
3 changed files with 38 additions and 78 deletions

View File

@@ -41,3 +41,20 @@ jobs:
- name: Run Linter
run: "yarn run lint:js"
workflow_lint:
name: "Workflow Lint"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: "yarn"
# Does not need branch matching as only analyses this layer
- name: Install Deps
run: "yarn install --frozen-lockfile"
- name: Run Linter
run: "yarn lint:workflows"