Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
cf500cd8
Commit
cf500cd8
authored
Aug 17, 2020
by
neil
Browse files
fix
parent
f1338aca
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ci.yml
View file @
cf500cd8
...
...
@@ -12,7 +12,7 @@ jobs:
run
:
shellcheck -V && shellcheck -e SC2181 **/*.sh && echo "shellcheck OK"
-
name
:
Install shfmt
with
:
SHFMT_URL
=
https://github.com/mvdan/sh/releases/download/v3.1.2/shfmt_v3.1.2_linux_amd64
SHFMT_URL
:
"
https://github.com/mvdan/sh/releases/download/v3.1.2/shfmt_v3.1.2_linux_amd64
"
run
:
curl -sSL ${{ SHFMT_URL }} -o ~/shfmt && chmod +x ~/shfmt
-
name
:
shfmt
run
:
~/shfmt -l -w -i 2 . ; git diff --exit-code && echo "shfmt OK"
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