2020-03-26 21:22:48 +01:00
|
|
|
on: [push, pull_request]
|
2020-04-27 15:01:15 +02:00
|
|
|
name: Lint
|
2019-08-16 18:28:12 +02:00
|
|
|
jobs:
|
|
|
|
shellcheck:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- name: shellcheck
|
2019-11-11 07:37:09 +01:00
|
|
|
uses: ludeeus/action-shellcheck@0.0.1
|
2019-08-16 18:28:12 +02:00
|
|
|
with:
|
2019-08-16 18:31:46 +02:00
|
|
|
args: openvpn-install.sh -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
|
2020-04-27 15:01:15 +02:00
|
|
|
shfmt:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- name: shfmt
|
|
|
|
uses: bltavares/actions/shfmt@master
|
|
|
|
env:
|
|
|
|
SHFMT_ARGS: -d
|