mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-14 12:59:03 +01:00
ci(lint): add shfmt job (#639)
This commit is contained in:
parent
6cc0022dff
commit
0f871f26d8
10
.github/workflows/push.yml
vendored
10
.github/workflows/push.yml
vendored
@ -1,5 +1,5 @@
|
||||
on: [push, pull_request]
|
||||
name: ShellCheck
|
||||
name: Lint
|
||||
jobs:
|
||||
shellcheck:
|
||||
runs-on: ubuntu-latest
|
||||
@ -9,3 +9,11 @@ jobs:
|
||||
uses: ludeeus/action-shellcheck@0.0.1
|
||||
with:
|
||||
args: openvpn-install.sh -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
|
||||
shfmt:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: shfmt
|
||||
uses: bltavares/actions/shfmt@master
|
||||
env:
|
||||
SHFMT_ARGS: -d
|
||||
|
Loading…
Reference in New Issue
Block a user