Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
d25b2890
Commit
d25b2890
authored
Sep 01, 2020
by
neil
Browse files
split shellcheck
parent
d73438a3
Changes
2
Show whitespace changes
Inline
Side-by-side
.github/workflows/LetsEncrypt.yml
View file @
d25b2890
.github/workflows/shellcheck.yml
View file @
d25b2890
...
...
@@ -12,7 +12,7 @@ on:
-
'
**.sh'
jobs
:
format
Check
:
Shell
Check
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
...
...
@@ -20,6 +20,11 @@ jobs:
run
:
sudo apt-get install -y shellcheck
-
name
:
DoShellcheck
run
:
shellcheck -V && shellcheck -e SC2181 **/*.sh && echo "shellcheck OK"
shfmt
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Install shfmt
run
:
curl -sSL https://github.com/mvdan/sh/releases/download/v3.1.2/shfmt_v3.1.2_linux_amd64 -o ~/shfmt && chmod +x ~/shfmt
-
name
:
shfmt
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment