.gitlab-ci.yml: use pipx

This commit is contained in:
Aminda Suomalainen 2024-01-11 21:47:25 +02:00
parent 7ecc6a6206
commit 3a586fbe36
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -37,8 +37,8 @@ pages:
gitlab-ci-pre-commit: gitlab-ci-pre-commit:
stage: build stage: build
before_script: before_script:
- apk add --no-cache python3 python3-dev py3-pip py3-wheel git gcc musl-dev bash nodejs-current npm ruby ruby-bundler - apk add --no-cache python3 python3-dev pipx py3-pip py3-wheel git gcc musl-dev bash nodejs-current npm ruby ruby-bundler
- pip install pre-commit - pipx install pre-commit
script: script:
- pre-commit run --all-files --show-diff-on-failure - pre-commit run --all-files --show-diff-on-failure
variables: variables: