1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/.github/workflows/helm-test.yaml
dependabot[bot] 4f499dee65
chore(deps): bump actions/checkout from 3.4.0 to 3.5.0 (#6672)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](24cb908017...8f4b7f8486)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: kyverno-bot <104836976+kyverno-bot@users.noreply.github.com>
2023-03-24 09:26:01 +00:00

44 lines
1.2 KiB
YAML

name: helm-test
on:
pull_request:
branches:
- main
- release*
paths:
- charts/**
- .github/workflows/helm-test.yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
helm-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
- name: Setup build env
uses: ./.github/actions/setup-build-env
with:
build-cache-key: helm-tests
- name: Setup python
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
with:
python-version: 3.7
- name: Set up chart-testing
uses: helm/chart-testing-action@afea100a513515fbd68b0e72a7bb0ae34cb62aec # v2.3.1
- name: Run chart-testing (lint)
run: |
if [[ $(ct list-changed --target-branch=main) ]];
then
ct lint --target-branch=main --check-version-increment=false
fi
- name: Setup test env
uses: ./.github/actions/setup-test-env
- name: Helm test
run: make helm-test
- name: Debug failure
if: failure()
uses: ./.github/actions/kyverno-logs