-
Notifications
You must be signed in to change notification settings - Fork 290
47 lines (43 loc) · 1.17 KB
/
lint.yml
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
44
45
46
47
name: Lint
on: [pull_request]
jobs:
helm-lint:
name: Helm lint all charts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.12.3 # Lock version for now, helm v3.13.0 contains bugs related to oci that will be fixed in v3.13.1. https://github.com/helm/helm/issues/12423
- name: Run helm lint
shell: bash
run: |
cd stable
helm lint *
artifacthub-lint:
name: Artifacthub lint all charts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Run ah lint
shell: bash
run: |
brew install artifacthub/cmd/ah
ah lint
markdown-lint:
name: Lint all markdown files
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/[email protected]
- name: Run lint
uses: avto-dev/[email protected]
with:
args: '**/*.md'
config: 'ci/markdown-lint.yaml'