dockcross/.github/workflows/ShellCheck.yml
Bensuperpc 97482d0814 Add shellcheck
Add shellcheck

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-07-28 20:29:40 +02:00

31 lines
583 B
YAML

name: shellcheck
on:
push:
branches:
- '*'
paths-ignore:
- '**/README.md'
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
strategy:
matrix:
shell_type: [bash, ksh]
steps:
- name: "📥 Checkout Code"
uses: actions/checkout@v2
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
ignore: archlinux
severity: warning
env:
SHELLCHECK_OPTS: -s ${{ matrix.shell_type }}