Skip to content

Bump to kube v0.3.0 #159

Bump to kube v0.3.0

Bump to kube v0.3.0 #159

Workflow file for this run

name: Check Plugin Json Schema
on:
push:
branches: [main]
pull_request:
branches: [main]
paths:
- "json-schema/current.txt"
- "manifests/**"
- .github/workflows/schema-check.yaml
jobs:
test-schema:
name: Validate Plugin Manifest with JSON Schema
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install ajv cli
run: npm install -g ajv-cli
- name: validate JSONs
run: |
export JSON_SCHEMA_VERSION=$(cat json-schema/version.txt)
ajv -s json-schema/spin-plugin-manifest-schema-$JSON_SCHEMA_VERSION.json -d "manifests/*/*.json" --spec=draft2019