mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-11-23 09:19:04 +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]
|
on: [push, pull_request]
|
||||||
name: ShellCheck
|
name: Lint
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -9,3 +9,11 @@ jobs:
|
|||||||
uses: ludeeus/action-shellcheck@0.0.1
|
uses: ludeeus/action-shellcheck@0.0.1
|
||||||
with:
|
with:
|
||||||
args: openvpn-install.sh -e SC1091,SC2164,SC2034,SC1072,SC1073,SC1009
|
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