Skip to content

Commit

Permalink
Merge pull request #4451 from nextcloud/ci/lint-helm/simplify
Browse files Browse the repository at this point in the history
ci(lint-helm): simplify workflow
  • Loading branch information
szaimen authored Mar 26, 2024
2 parents d181a8c + ce43fe9 commit 17fcc24
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/lint-helm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint and Test Charts
name: Lint Helm Charts

on:
workflow_dispatch:
Expand All @@ -8,7 +8,7 @@ on:

jobs:
lint-helm:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -20,16 +20,5 @@ jobs:
with:
version: v3.11.1

- name: Set up chart-testing
uses: helm/[email protected]

- 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/[email protected]

- 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

0 comments on commit 17fcc24

Please sign in to comment.