diff --git a/.env b/.env index 2c47321..3ef6c32 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ BUILD_HARNESS_REPO=ghcr.io/defenseunicorns/build-harness/build-harness # renovate: datasource=github-tags depName=defenseunicorns/build-harness -BUILD_HARNESS_VERSION=1.13.2 +BUILD_HARNESS_VERSION=1.14.0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 622bac7..425e21c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,12 +20,15 @@ repos: rev: 0.2.0 hooks: - id: fix-smartquotes - - repo: https://github.com/dnephin/pre-commit-golang - rev: v0.5.1 + - repo: https://github.com/tekwizely/pre-commit-golang + rev: v1.0.0-rc.1 hooks: - id: go-fmt - id: golangci-lint + args: + - "--timeout=10m" + - "--verbose" - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 37.33.5 + rev: 37.34.1 hooks: - id: renovate-config-validator diff --git a/Makefile b/Makefile index 712ff3c..767688e 100644 --- a/Makefile +++ b/Makefile @@ -100,7 +100,7 @@ pre-commit-all: ## Run all pre-commit hooks. Returns nonzero exit code if any ho .PHONY: pre-commit-golang pre-commit-golang: ## Run the golang pre-commit hooks. Returns nonzero exit code if any hooks fail. Uses Docker for maximum compatibility - $(MAKE) _runhooks HOOK="" SKIP="check-added-large-files,check-merge-conflict,detect-aws-credentials,detect-private-key,end-of-file-fixer,fix-byte-order-marker,trailing-whitespace,check-yaml,fix-smartquotes,terraform_fmt,terraform_docs,terraform_checkov,terraform_tflint,renovate-config-validator" + $(MAKE) _runhooks HOOK="" SKIP="check-added-large-files,check-merge-conflict,detect-aws-credentials,detect-private-key,end-of-file-fixer,fix-byte-order-marker,trailing-whitespace,check-yaml,fix-smartquotes,renovate-config-validator" .PHONY: pre-commit-renovate pre-commit-renovate: ## Run the renovate pre-commit hooks. Returns nonzero exit code if any hooks fail. Uses Docker for maximum compatibility