feat(qa): add qa checks for dockerfile and documentation

This commit is contained in:
Karl-Johan Grahn
2022-03-21 21:03:39 +01:00
parent e380fbaf03
commit 4592bd4331
2 changed files with 24 additions and 0 deletions

View File

@@ -48,6 +48,23 @@ jobs:
cd deployments/kubernetes/chart/reloader
helm lint
- name: Dockerfile Lint
uses: hadolint/hadolint-action@v1.6.0
with:
dockerfile: Dockerfile
failure-threshold: warning
- name: Link check
uses: gaurav-nelson/github-action-markdown-link-check@v1
- name: Spell check
uses: errata-ai/vale-action@v1.5.0
with:
styles: https://github.com/errata-ai/write-good/releases/latest/download/write-good.zip
files: docs
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Install kubectl
run: |
curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl"