2020-04-27 13:21:32 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
2020-04-27 13:01:15 +00:00
|
|
|
name: Lint
|
2020-06-26 20:37:38 +00:00
|
|
|
|
2019-08-16 16:28:12 +00:00
|
|
|
jobs:
|
|
|
|
shellcheck:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-06-26 20:37:38 +00:00
|
|
|
- uses: actions/checkout@v2
|
2019-08-16 16:28:12 +00:00
|
|
|
- name: shellcheck
|
2020-07-15 06:11:26 +00:00
|
|
|
uses: ludeeus/action-shellcheck@0.4.1
|
2020-04-28 13:15:01 +00:00
|
|
|
env:
|
|
|
|
SHELLCHECK_OPTS: -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
|
2020-06-26 20:37:38 +00:00
|
|
|
|
2020-04-27 13:01:15 +00:00
|
|
|
shfmt:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-06-26 20:37:38 +00:00
|
|
|
- uses: actions/checkout@v2
|
2020-04-27 13:01:15 +00:00
|
|
|
- name: shfmt
|
|
|
|
uses: bltavares/actions/shfmt@master
|
|
|
|
env:
|
|
|
|
SHFMT_ARGS: -d
|