koalaman / shellcheck Public
Drone
John Gardner edited this page Dec 22, 2021
·
3 revisions
For a basic configuration, place the following in your .drone.yml:
---
kind: pipeline
type: docker
name: default
steps:
- name: shellcheck
image: koalaman/shellcheck-alpine:stable
commands:
- "shellcheck testScript.sh"To check all .sh files in the repo:
steps:
- name: shellcheck
image: koalaman/shellcheck-alpine:stable
commands:
- "find . -name *.sh -exec shellcheck {} +"