There was an error while loading. Please reload this page.
1 parent b39bbf5 commit 243bf25Copy full SHA for 243bf25
1 file changed
.github/workflows/validate-yaml.yml
@@ -10,22 +10,14 @@ jobs:
10
validate-yaml:
11
name: Validate Helm Chart
12
runs-on: ubuntu-latest
13
+ container:
14
+ image: weibeld/ajv-cli:5.0.0
15
steps:
16
- name: Checkout
17
uses: actions/checkout@v2
18
with:
19
fetch-depth: 0
20
- - name: collect Chart.yamls
- run: |
21
- {
22
- echo 'YAML_CHARTS<<EOF'
23
- find charts -name Chart.yaml
24
- echo EOF
25
- } >> "$GITHUB_ENV"
26
-
27
- name: validate all Chart.yaml
28
- uses: RomanosTrechlis/actions-validate-yaml@v1.0
29
- with:
30
- schema: chart-schema.json
31
- data: ${{ env.YAML_CHARTS }}
+ run: |
+ find charts -name Chart.yaml --exec ajv --spec draft2020 -c ajv-formats -s chart-schema.json -d {} \;
0 commit comments