mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-06 07:57:07 +00:00
28 lines
611 B
YAML
28 lines
611 B
YAML
name: helm-test
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'main'
|
|
paths:
|
|
- 'charts/kyverno/**'
|
|
- '.github/workflows/helm-test.yaml'
|
|
|
|
jobs:
|
|
helm-tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Unshallow
|
|
run: git fetch --prune --unshallow
|
|
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.7
|
|
|
|
- name: Set up chart-testing
|
|
uses: helm/chart-testing-action@v2.0.1
|
|
|
|
- name: Run chart-testing (lint)
|
|
run: ct lint --target-branch=main --check-version-increment=false
|