File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 55 paths :
66 - " templates/**.yaml"
77 - " templates/**.yml"
8- - " templates/**/kustomization.yaml"
98 push :
109 paths :
1110 - " templates/**.yaml"
1211 - " templates/**.yml"
13- - " templates/**/kustomization.yaml"
1412
1513jobs :
1614 lint :
2422 with :
2523 python-version : " 3.x"
2624
27- - name : Install yamllint
28- run : pip install yamllint
25+ - name : Install Task
26+ uses : arduino/setup-task@v2
27+ with :
28+ version : 3.x
29+ repo-token : ${{ secrets.GITHUB_TOKEN }}
2930
30- - name : Lint YAML files
31- run : yamllint templates/
31+ - name : Run lint task
32+ run : task lint
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ tasks:
1717 --file .out \
1818 --settings settings.yaml \
1919 component-constructor.yaml
20+ lint :
21+ desc : Lint YAML files in templates directory
22+ cmds :
23+ - yamllint templates
2024
2125 push :
2226 desc : Push to OCM Registry
You can’t perform that action at this time.
0 commit comments