Skip to content

Commit

Permalink
Add more linting (#630)
Browse files Browse the repository at this point in the history
* Add more linting

* remove this

* fix cwd here

---------

Co-authored-by: Max Williams <max-rocket-internet@users.noreply.github.com>
  • Loading branch information
max-rocket-internet and max-rocket-internet authored Nov 14, 2024
1 parent 36e6123 commit b84ac7a
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 14 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Lint

on: [pull_request]

jobs:
helm-lint:
name: Helm lint all charts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.12.3 # Lock version for now, helm v3.13.0 contains bugs related to oci that will be fixed in v3.13.1. https://github.com/helm/helm/issues/12423
- name: Run helm lint
shell: bash
run: |
cd stable
helm lint *
artifacthub-lint:
name: Artifacthub lint all charts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Run ah lint
shell: bash
run: |
brew install artifacthub/cmd/ah
ah lint
markdown-lint:
name: Lint all markdown files
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4.1.7
- name: Run lint
uses: avto-dev/markdown-lint@v1.5.0
with:
args: '**/*.md'
config: 'ci/markdown-lint.yaml'
14 changes: 0 additions & 14 deletions .github/workflows/markdown-lint.yml

This file was deleted.

0 comments on commit b84ac7a

Please sign in to comment.