Files
windmill/.github/workflows/yaml-validator-tests.yml
T
Ruben FiszelandClaude Opus 5.5 6122848a27 chore: lock github actions with a workflow lockfile (#12382)
* chore: lock github actions with gh actions-lock lockfile

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore: let dependabot update composite action refs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 15:26:17 +01:00

38 lines
987 B
YAML

name: YAML validator tests
# The schemas behind `wmill lint` are generated from the OpenAPI specs, so a spec change
# can turn a valid synced file into a lint error without touching any validator code.
on:
push:
branches: [main]
paths:
- "windmill-yaml-validator/**"
- "openflow.openapi.yaml"
- "backend/windmill-api/openapi.yaml"
- ".github/workflows/yaml-validator-tests.yml"
pull_request:
paths:
- "windmill-yaml-validator/**"
- "openflow.openapi.yaml"
- "backend/windmill-api/openapi.yaml"
- ".github/workflows/yaml-validator-tests.yml"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.4.0
- uses: actions/setup-node@v7.1.0
with:
node-version: "20"
- name: Install dependencies
working-directory: windmill-yaml-validator
run: npm ci
- name: Run tests
working-directory: windmill-yaml-validator
run: npm test