Skip to content

Commit

Permalink
Bump golangci-lint and shellcheck (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
kovayur authored Jun 12, 2023
1 parent a5c785a commit bd8ab9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 33 deletions.
30 changes: 0 additions & 30 deletions .githooks/pre-commit

This file was deleted.

4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
- id: detect-secrets
args: ["--baseline", ".secrets.baseline"]
- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
rev: v1.53.2
hooks:
- id: golangci-lint
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand All @@ -27,7 +27,7 @@ repos:
exclude: '^(?:secrets/db.*|internal/dinosaur/pkg/api/(admin|private|public)/.*|pkg/client/redhatsso/api/.*)$' # Matches either secrets/db.* files or the generated files under internal/dinosaur/pkg/api/(admin|private|public) and pkg/client/redhatsso/client/api.
- id: check-json
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.2
rev: v0.9.0.5
hooks:
- id: shellcheck
# Ignore scripts generated by openapi-generator.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ help:
all: openapi/generate binary
.PHONY: all

# Set git hook path to .githooks/
# Install pre-commit hooks
.PHONY: setup/git/hooks
setup/git/hooks:
-git config --unset-all core.hooksPath
Expand Down

0 comments on commit bd8ab9c

Please sign in to comment.