2020-08-03 17:50:40 +02:00
|
|
|
on: push
|
2020-04-27 15:21:32 +02:00
|
|
|
|
2020-04-27 15:01:15 +02:00
|
|
|
name: Lint
|
2020-06-26 22:37:38 +02:00
|
|
|
|
2019-08-16 18:28:12 +02:00
|
|
|
jobs:
|
|
|
|
shellcheck:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-08-03 17:50:40 +02:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: shellcheck
|
|
|
|
uses: ludeeus/action-shellcheck@0.5.0
|
|
|
|
env:
|
|
|
|
SHELLCHECK_OPTS: -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
|
2020-06-26 22:37:38 +02:00
|
|
|
|
2020-04-27 15:01:15 +02:00
|
|
|
shfmt:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-08-03 17:50:40 +02:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: shfmt
|
|
|
|
uses: bltavares/actions/shfmt@master
|
|
|
|
env:
|
|
|
|
SHFMT_ARGS: -d
|