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
d9e7cf65
Unverified
Commit
d9e7cf65
authored
Aug 17, 2020
by
neil
Committed by
GitHub
Aug 17, 2020
Browse files
Update ci.yml
parent
cf500cd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ci.yml
View file @
d9e7cf65
...
...
@@ -11,8 +11,6 @@ jobs:
-
name
:
DoShellcheck
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"
run
:
curl -sSL ${{ SHFMT_URL }} -o ~/shfmt && chmod +x ~/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
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