helpers/.woodpecker/test.yml

14 lines
296 B
YAML
Raw Normal View History

2023-12-07 09:56:20 +00:00
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
lint:
group: test
image: docker.io/koalaman/shellcheck-alpine:stable
commands:
2023-12-07 09:57:05 +00:00
- grep -ErlI '^#!(.*/|.*env +)(sh|bash|ksh)' ./shell/ | xargs -r shellcheck