Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
arch-boxes
Commits
bdbf998d
Verified
Commit
bdbf998d
authored
Jul 27, 2020
by
Sven-Hendrik Haase
Browse files
Do all linting in parallel
parent
7b736421
Pipeline
#830
passed with stages
in 9 minutes and 52 seconds
Changes
1
Pipelines
11
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
bdbf998d
...
...
@@ -2,43 +2,39 @@ default:
image
:
"
archlinux:latest"
stages
:
-
shfmt
-
shellcheck
-
yapf
-
flake8
-
validate-packer
-
lint
-
build
shellcheck
:
stage
:
shellcheck
stage
:
lint
before_script
:
-
pacman -Syu --needed --noconfirm shellcheck
script
:
find . -iname "*.sh" -exec shellcheck {} +
shfmt
:
stage
:
shfm
t
stage
:
lin
t
before_script
:
-
pacman -Syu --needed --noconfirm shfmt
script
:
find . -iname "*.sh" -exec shfmt -i 2 -ci -d {} +
yapf
:
stage
:
yapf
stage
:
lint
before_script
:
-
pacman -Syu --needed --noconfirm yapf
script
:
find . -iname "*.py" -exec python3 -m yapf -d {} +
flake8
:
stage
:
flake8
stage
:
lint
before_script
:
-
pacman -Syu --needed --noconfirm flake8
script
:
find . -iname "*.py" -exec python3 -m flake8 {} +
validate-packer
:
stage
:
validate-packer
stage
:
lint
before_script
:
-
pacman -Syu --needed --noconfirm packer
script
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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