Skip to content

Commit

Permalink
pre commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
rafajpet committed Mar 12, 2024
1 parent a1f2700 commit b3f1379
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Get dependencies
Expand All @@ -29,4 +29,4 @@ jobs:
- name: Test
env:
GOPROXY: "https://proxy.golang.org"
run: go test -v .
run: go test -v .
25 changes: 25 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
- id: detect-aws-credentials
args: ['--allow-missing-credentials']
- id: detect-private-key
- id: end-of-file-fixer

- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.17
hooks:
- id: helmlint

- repo: https://github.com/norwoodj/helm-docs
rev: v1.13.0
hooks:
- id: helm-docs
args:
- --chart-search-root=charts
- id: helm-docs-built
args:
- --chart-search-root=charts
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
helm 3.14.2
awscli 2.7.14
pre-commit 2.20.0

0 comments on commit b3f1379

Please sign in to comment.