Skip to content

Commit

Permalink
Merge pull request #4 from aiven/mhoffm-add-linting-and-testing-action
Browse files Browse the repository at this point in the history
add linting action
  • Loading branch information
ivan-savciuc authored Aug 18, 2021
2 parents 7899a8a + ebb1933 commit d71d32c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Lint Charts

on: pull_request

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v1
with:
version: v3.4.0

- uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Set up chart-testing
uses: helm/[email protected]

- name: Run chart-testing (lint)
run: ct lint --all
3 changes: 3 additions & 0 deletions charts/aiven-kubernetes-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ description: A Helm chart to deploy the aiven k8s operator
type: application
version: 0.1.0-alpha.1
appVersion: 0.0.1
maintainers:
- name: mhoffm-aiven
url: https://www.aiven.io

0 comments on commit d71d32c

Please sign in to comment.