From 20ba3b119ad6825cadd2adbea4f6524a5fb626f2 Mon Sep 17 00:00:00 2001 From: Carlos Panato Date: Fri, 10 Jan 2020 16:36:18 +0100 Subject: [PATCH] update actions Signed-off-by: Carlos Panato --- .github/workflows/lint-test.yaml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 52097695..e247a879 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -9,17 +9,20 @@ jobs: - name: Checkout uses: actions/checkout@v1 - - name: Create kind cluster - uses: helm/kind-action@v1.0.0-alpha.3 - with: - install_local_path_provisioner: true - - name: Run chart-testing (lint) - uses: helm/chart-testing-action@v1.0.0-alpha.2 + id: lint + uses: helm/chart-testing-action@v1.0.0-alpha.3 with: command: lint + - name: Create kind cluster + uses: helm/kind-action@v1.0.0-alpha.3 + with: + installLocalPathProvisioner: true + # Only build a kind cluster if there are chart changes to test. + if: steps.lint.outputs.changed == 'true' + - name: Run chart-testing (install) - uses: helm/chart-testing-action@v1.0.0-alpha.2 + uses: helm/chart-testing-action@v1.0.0-alpha.3 with: command: install