mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-11-17 08:20:12 +00:00
* 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>
38 lines
987 B
YAML
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
|