1 Buildkite
Olivier Halligon edited this page 2022-05-17 12:13:57 +02:00

Buildkite provides a plugin dedicated to run shellcheck.

Simply add this step to your Buildkite pipeline (.buildkite/pipeline.yml) to use it:

steps:
  - label: ":shell: Shellcheck"
    plugins:
      shellcheck#v1.1.2:
        # List the files you want to lint
        files: ["**/*.sh"]
        # additional options to pass to shellcheck (optional)
        options: ["-x", "-P", "SCRIPTDIR"]