mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
* fix: Enable HTTP/2 for proxy upstream with connection tuning * fix: Handle HTTP/2 upstream translating to HTTP/1.1 downstream * fix: Remove go tool golangci-lint as per docs * fix: Code review fixes * fix: Code review fixes
16 lines
556 B
YAML
16 lines
556 B
YAML
pre-push:
|
|
parallel: true
|
|
commands:
|
|
test:
|
|
run: go test -v ./...
|
|
|
|
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
linter:
|
|
run: golangci-lint run -n
|
|
secrets-scanning:
|
|
files: git diff --name-only --diff-filter=d --staged
|
|
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lefthook.yml
|
|
run: 'if command -v gitleaks > /dev/null 2>&1; then gitleaks protect --no-banner --staged --redact --verbose; else echo "WARNING: gitleaks is not installed. Please install it. See https://github.com/gitleaks/gitleaks#installing"; fi'
|