Add workflow with shellcheck
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
name: Shellcheck
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
types: [synchronize, opened, reopened, edited]
|
||||||
|
paths:
|
||||||
|
- .github/workflows/shellcheck.yaml
|
||||||
|
- '**/*.sh'
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.ref }}-shellcheck
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
SHELLCHECK_VERSION: v0.9.0
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
checks:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/[email protected]
|
||||||
|
|
||||||
|
- name: Run Shellcheck
|
||||||
|
uses: ludeeus/[email protected]
|
||||||
|
with:
|
||||||
|
format: gcc
|
||||||
|
version: ${{ env.SHELLCHECK_VERSION }}
|
||||||
Reference in New Issue
Block a user