Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
Beeper
standupbot
Commits
f4a891f9
Verified
Commit
f4a891f9
authored
Jan 27, 2022
by
Sumner Evans
💬
Browse files
ci: add pre-commit to lint process
parent
e9adb491
Pipeline
#457804148
passed with stages
in 3 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f4a891f9
stages
:
-
lint
-
build
lint
:
image
:
python:3.10-alpine
stage
:
lint
before_script
:
-
pip3 install pre-commit
-
apk add --no-cache bash git go
-
go install golang.org/x/tools/cmd/goimports@latest
-
export PATH="$HOME/go/bin:$PATH"
script
:
-
"
pre-commit
run
-a"
build
:
image
:
dock.mau.dev/tulir/gomuks-build-docker:linux-amd64
stage
:
build
...
...
Write
Preview
Supports
Markdown
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