Skip to content

Commit

Permalink
ci: add super-linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Jan 2, 2023
1 parent 3b02223 commit edb64ed
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cd.yml
Expand Up @@ -7,7 +7,6 @@ on:

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci-chart.yml
@@ -1,6 +1,8 @@
name: Lint and Test Chart

on: pull_request
on:
push:
pull_request:

jobs:
lint-test:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -12,7 +12,8 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
@@ -0,0 +1,19 @@
name: Lint Docs and Non-Go Code
on:
push:
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter/slim@v4
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_GO: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit edb64ed

Please sign in to comment.