-
Notifications
You must be signed in to change notification settings - Fork 14
34 lines (32 loc) · 1.09 KB
/
validate-packages.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Validate package manifests
on:
push:
branches:
- main
paths:
- packages/**
pull_request:
branches:
- main
paths:
- packages/**
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Validate Package Manifest Schema
uses: cardinalby/schema-validator-action@2166123eb256fa40baef7e22ab1379708425efc7 # 3.1.1
with:
file: "packages/**/package.yaml"
schema: "https://glasskube.dev/schemas/v1/package-manifest.json"
- name: Validate Package Versions Schema
uses: cardinalby/schema-validator-action@2166123eb256fa40baef7e22ab1379708425efc7 # 3.1.1
with:
file: "packages/**/versions.yaml"
schema: "https://glasskube.dev/schemas/v1/versions.json"
- name: Validate Package Index Schema
uses: cardinalby/schema-validator-action@2166123eb256fa40baef7e22ab1379708425efc7 # 3.1.1
with:
file: "packages/index.yaml"
schema: "https://glasskube.dev/schemas/v1/index.json"