Skip to content

Merge pull request #188 from ccztux/issue-187 #13

Merge pull request #188 from ccztux/issue-187

Merge pull request #188 from ccztux/issue-187 #13

name: ShellCheck (master)
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
container-job:
runs-on: ubuntu-latest
steps:
- name: Get the stable ShellCheck container
run: |
sudo docker pull koalaman/shellcheck:stable
- name: Show ShellCheck version
run: |
docker run koalaman/shellcheck:stable --version
- name: Repository checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: ShellCheck our scripts
run: |
docker run -v $(pwd):/scripts koalaman/shellcheck:stable --color=always --check-sourced --external-sources /scripts/usr/bin/modpd