There was an error while loading. Please reload this page.
1 parent 33da682 commit c0a6ce2Copy full SHA for c0a6ce2
1 file changed
.github/workflows/validate-yaml.yml
@@ -10,14 +10,22 @@ 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
21
- - name: validate all Chart.yaml
+ - name: collect Chart.yamls
22
run: |
23
- find charts -name Chart.yaml -exec ajv --spec draft2020 -c ajv-formats -s chart-schema.json -d {} \;
+ {
+ echo 'YAML_CHARTS<<EOF'
+ 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 }}
0 commit comments