Setup CI to lint workflows with action-validator

This commit is contained in:
Johannes Marbach 2023-11-21 19:45:44 +01:00
parent 802571176e
commit e8668614a7
3 changed files with 38 additions and 1 deletions

View file

@ -64,6 +64,23 @@ jobs:
- name: Run Linter
run: "yarn run lint:style"
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"
analyse_dead_code:
name: "Analyse Dead Code"
runs-on: ubuntu-latest