Skip to content

Update actions/checkout action to v4 #383

Update actions/checkout action to v4

Update actions/checkout action to v4 #383

Workflow file for this run

---
name: JSON Schema
on:
push:
branches: [main]
paths:
- .github/workflows/json-schema.yaml
- registry.yaml
pull_request:
branches: [main]
paths:
- .github/workflows/json-schema.yaml
- registry.yaml
jobs:
json-schema:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "16"
- run: curl --fail -O -L "https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json"
- run: npm install -g ajv-cli
- run: ajv --spec=draft2020 -s registry.json -d registry.yaml