-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 997 Bytes
/
lint-test.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
35
36
37
38
39
40
41
42
43
name: Lint and Test Charts
on:
pull_request:
branches: ['main']
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: azure/[email protected]
with:
version: v3.12.0
- name: Run Helm lint
run: |
make lint
- name: Run Helm docs
run: |
make docs
if ! git diff --exit-code; then
echo "Documentation not up to date. Please run `make docs` and commit changes!" >&2
exit 1
fi
- name: Run Helm schema
run: |
make schema
if ! git diff --exit-code; then
echo "Documentation not up to date. Please run `make schema` and commit changes!" >&2
exit 1
fi