Skip to content

Commit

Permalink
ci(lint): add shfmt job (angristan#639)
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan authored and timbo2k committed Dec 25, 2021
1 parent 4fe1bfe commit 64781f3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on: [push, pull_request]
name: ShellCheck
name: Lint
jobs:
shellcheck:
runs-on: ubuntu-latest
Expand All @@ -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

0 comments on commit 64781f3

Please sign in to comment.