package-cache/.woodpecker/lint.yml
Maurizio Porrato 331d4bbe68
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/docker Pipeline was successful
Enable parallel linting
2022-08-23 19:43:52 +01:00

18 lines
627 B
YAML

---
pipeline:
shellcheck:
image: pipelinecomponents/shellcheck
group: lint
commands:
- find . -name .git -type d -prune -o -type f -name \*.sh -print0 | xargs -0 -r -t -n1 shellcheck
awk-lint:
image: registry.access.redhat.com/ubi9
group: lint
commands:
- find . -name .git -type d -prune -o -type f -name \*.awk -print0 | xargs -0 -r -t -n1 gawk --lint=no-ext -f
hadolint:
image: pipelinecomponents/hadolint
group: lint
commands:
- find . -name .git -type d -prune -o -type f \( -name Dockerfile\* -or -name Containerfile\* \) -print0 | xargs -0 -r -t -n1 hadolint