add CI/CD (shellcheck)
This commit is contained in:
20
.github/workflows/shellcheck-dev.yml
vendored
Normal file
20
.github/workflows/shellcheck-dev.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: shellcheck-dev
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
- '!master'
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
name: shellcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
env:
|
||||
SHELLCHECK_OPTS: -x
|
||||
with:
|
||||
additional_files: 'builder'
|
19
.github/workflows/shellcheck-master.yml
vendored
Normal file
19
.github/workflows/shellcheck-master.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: shellcheck
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
name: shellcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
env:
|
||||
SHELLCHECK_OPTS: -x
|
||||
with:
|
||||
additional_files: 'builder'
|
Reference in New Issue
Block a user