mirror of
https://github.com/plcnk/charts.git
synced 2026-04-11 20:20:36 +00:00
fix(actions): Fix linting workflow
This commit is contained in:
1
.github/ct-lint-config.yaml
vendored
1
.github/ct-lint-config.yaml
vendored
@ -1,2 +1,3 @@
|
|||||||
debug: true
|
debug: true
|
||||||
all: true
|
all: true
|
||||||
|
validate-maintainers: false
|
||||||
|
|||||||
8
.github/workflows/lint-test.yaml
vendored
8
.github/workflows/lint-test.yaml
vendored
@ -24,7 +24,9 @@ jobs:
|
|||||||
uses: helm/chart-testing-action@v2.6.1
|
uses: helm/chart-testing-action@v2.6.1
|
||||||
|
|
||||||
- name: Run chart-testing (lint)
|
- name: Run chart-testing (lint)
|
||||||
run: ct lint --config .github/ct-lint-config.yaml
|
run: |
|
||||||
|
helm repo add bjw-s https://bjw-s.github.io/helm-charts
|
||||||
|
ct lint --config .github/ct-lint-config.yaml
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -46,10 +48,6 @@ jobs:
|
|||||||
if [[ -n "$changed" ]]; then
|
if [[ -n "$changed" ]]; then
|
||||||
echo "changed=true" >> $GITHUB_OUTPUT
|
echo "changed=true" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
- name: Run chart-testing (lint)
|
|
||||||
run: |
|
|
||||||
helm repo add bjw-s https://bjw-s.github.io/helm-charts
|
|
||||||
ct lint --chart-dirs charts --all
|
|
||||||
|
|
||||||
- name: Create kind cluster
|
- name: Create kind cluster
|
||||||
uses: helm/kind-action@v1.10.0
|
uses: helm/kind-action@v1.10.0
|
||||||
|
|||||||
Reference in New Issue
Block a user