mirror of
https://github.com/bitnami/charts.git
synced 2026-03-01 15:07:34 +08:00
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
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: Set up chart-testing
|
|
uses: helm/chart-testing-action@v2.1.0
|
|
|
|
- name: Run chart-testing (lint)
|
|
run: ct lint --config .github/ct-lint.yaml
|
|
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Fetch history
|
|
run: git fetch --prune --unshallow
|
|
|
|
- name: Set up chart-testing
|
|
uses: helm/chart-testing-action@v2.1.0
|
|
|
|
- name: Create kind cluster
|
|
uses: helm/kind-action@v1.2.0
|
|
|
|
- name: Run chart-testing (install)
|
|
run: ct install --config .github/ct-install.yaml
|
|
|
|
check-categories:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Fetch history
|
|
run: git fetch --prune --unshallow
|
|
|
|
- name: Check categories
|
|
uses: bitnami/chart-categories-action@master
|