-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add more linting * remove this * fix cwd here --------- Co-authored-by: Max Williams <max-rocket-internet@users.noreply.github.com>
- Loading branch information
1 parent
36e6123
commit b84ac7a
Showing
2 changed files
with
47 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
This file was deleted.
Oops, something went wrong.