mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 06:47:25 +08:00
37 lines
827 B
YAML
37 lines
827 B
YAML
name: Lint and Test Charts
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Fetch history
|
|
run: git fetch --prune --unshallow
|
|
|
|
- name: Run chart-testing (lint)
|
|
uses: helm/chart-testing-action@v1.0.0-rc.2
|
|
with:
|
|
config: .github/ct-lint.yaml
|
|
command: lint
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Fetch history
|
|
run: git fetch --prune --unshallow
|
|
|
|
- name: Create kind cluster
|
|
uses: helm/kind-action@v1.0.0-rc.1
|
|
|
|
- name: Run chart-testing (install)
|
|
uses: helm/chart-testing-action@v1.0.0-rc.2
|
|
with:
|
|
config: .github/ct-install.yaml
|
|
command: install
|