Add ShellCheck GitHub workflow

This commit is contained in:
Esa Jokinen 2024-04-05 16:58:49 +03:00
parent a228c7b25b
commit 88d3cf87e2

22
.github/workflows/shell.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: ShellCheck
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck for shell scripts
uses: ludeeus/action-shellcheck@master
with:
severity: style
scandir: .
format: gcc
version: stable