mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-12 11:10:48 +02:00
add shellcheck action to catch script errors
This commit is contained in:
parent
22a95cae08
commit
3484835489
19
.github/workflows/test-shellcheck.yml
vendored
Normal file
19
.github/workflows/test-shellcheck.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: "Test Shellcheck"
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: ["dev"]
|
||||
pull_request:
|
||||
branches: ["dev"]
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
name: Run Shellcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
with:
|
||||
severity: error
|
Loading…
Reference in New Issue
Block a user