name: ShellCheck
on:
- push
- pull_request
- workflow_call

jobs:
  shellcheck:
    name: Shellcheck
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
      with:
        fetch-depth: 0

    - name: Run ShellCheck
      uses: ludeeus/action-shellcheck@master
