.gitlab-ci.yml: add --no-cache for apk, remove update step

This commit is contained in:
Aminda Suomalainen 2023-05-22 17:33:40 +03:00
parent 1094a0c0c7
commit d0015a66e5
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -3,7 +3,7 @@ image: python:alpine
gitlab-ci-pre-commit: gitlab-ci-pre-commit:
stage: build stage: build
before_script: before_script:
- apk update && apk add git gcc musl-dev go - apk add --no-cache git gcc musl-dev go
- pip install pre-commit - pip install pre-commit
script: script:
- pre-commit run --all-files --show-diff-on-failure - pre-commit run --all-files --show-diff-on-failure