Merge pull request #4451 from nextcloud/ci/lint-helm/simplify

ci(lint-helm): simplify workflow
This commit is contained in:
Simon L 2024-03-26 14:14:45 +01:00 committed by GitHub
commit 17fcc24c9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
name: Lint and Test Charts
name: Lint Helm Charts
on:
workflow_dispatch:
@ -8,7 +8,7 @@ on:
jobs:
lint-helm:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
@ -20,16 +20,5 @@ jobs:
with:
version: v3.11.1
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
- name: Run chart-testing (lint)
id: lint
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --debug --chart-dirs nextcloud-aio-helm-chart
- name: Create kind cluster
uses: helm/kind-action@v1.9.0
- name: Run chart-testing (install)
id: install
run: ct install --target-branch ${{ github.event.repository.default_branch }} --debug --chart-dirs nextcloud-aio-helm-chart
- name: Lint charts
run: helm lint nextcloud-aio-helm-chart