ci(lint-helm): simplify workflow

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz 2024-03-26 14:11:55 +01:00
parent 03f9288388
commit ce43fe96a9
No known key found for this signature in database
GPG key ID: 27137D9E7D273FB2

View file

@ -1,4 +1,4 @@
name: Lint and Test Charts name: Lint Helm Charts
on: on:
workflow_dispatch: workflow_dispatch:
@ -8,7 +8,7 @@ on:
jobs: jobs:
lint-helm: lint-helm:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -20,16 +20,5 @@ jobs:
with: with:
version: v3.11.1 version: v3.11.1
- name: Set up chart-testing - name: Lint charts
uses: helm/chart-testing-action@v2.6.1 run: helm lint nextcloud-aio-helm-chart
- 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