2023-04-19 01:27:01 +02:00
|
|
|
on: [workflow_call]
|
2023-04-21 06:28:47 +02:00
|
|
|
name: "Check"
|
2023-04-19 01:27:01 +02:00
|
|
|
permissions: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
shellcheck:
|
2023-04-21 06:17:14 +02:00
|
|
|
name: shellcheck
|
2023-04-19 01:27:01 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Run ShellCheck
|
2023-04-27 17:32:26 +02:00
|
|
|
uses: luizm/action-sh-checker@master
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
SHELLCHECK_OPTS: -x -e SC2001 -e SC2002 -e SC2223 -e SC2034 -e SC2064
|
|
|
|
SHFMT_OPTS: -s
|
|
|
|
with:
|
|
|
|
sh_checker_comment: true
|
2023-04-27 17:39:23 +02:00
|
|
|
sh_checker_shfmt_disable: true
|
2023-04-27 17:41:42 +02:00
|
|
|
sh_checker_checkbashisms_enable: false
|