Enable parallel linting
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details

This commit is contained in:
Maurizio Porrato 2022-08-23 19:43:52 +01:00
parent 21c19665f2
commit 331d4bbe68
1 changed files with 3 additions and 0 deletions

View File

@ -2,13 +2,16 @@
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