mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
.gitlab-ci.yml: add go package
This commit is contained in:
parent
40f3392c1e
commit
1094a0c0c7
@ -3,7 +3,7 @@ image: python:alpine
|
||||
gitlab-ci-pre-commit:
|
||||
stage: build
|
||||
before_script:
|
||||
- apk update && apk add git gcc musl-dev
|
||||
- apk update && apk add git gcc musl-dev go
|
||||
- pip install pre-commit
|
||||
script:
|
||||
- pre-commit run --all-files --show-diff-on-failure
|
||||
@ -11,8 +11,6 @@ gitlab-ci-pre-commit:
|
||||
# Remember to gitignore .cache/**
|
||||
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
|
||||
TERM: dumb
|
||||
# TODO: Figure out how to properly Go on Alpine
|
||||
SKIP: shfmt
|
||||
cache:
|
||||
paths:
|
||||
- ${PRE_COMMIT_HOME}
|
||||
|
Loading…
Reference in New Issue
Block a user