Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.05 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.05 KB

A GitHub action to run ShellCheck

Go to ShellCheck at GitHub

You can find the image on Docker Hub

Docker Pulls

You can find the image on Docker Hub

I use the base image koalaman/shellcheck for this action

This action has make and bash.

Example usage

  - uses: actions/checkout@v4
  - name: run shellcheck
    uses: sudo-bot/action-shellcheck@latest
    with:
        # https://github.com/koalaman/shellcheck#how-to-use
        cli-args: "myscript"

Advanced usage

  - uses: actions/checkout@v4
  - name: run shellcheck
    uses: sudo-bot/action-shellcheck@latest
    with:
        # https://github.com/koalaman/shellcheck#how-to-use
        cli-args: "--format=checkstyle --severity=info script.sh"