Verified Commit 929bb756 authored by Kevin Morris's avatar Kevin Morris
Browse files

ci(lint): add .pre-commit cache for pre-commit



Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
parent fbb3e052
Pipeline #27119 failed with stages
in 1 minute
......@@ -5,6 +5,7 @@ cache:
# For some reason Gitlab CI only supports storing cache/artifacts in a path relative to the build directory
- .pkg-cache
- .venv
- .pre-commit
variables:
AUR_CONFIG: conf/config # Default MySQL config setup in before_script.
......@@ -23,6 +24,7 @@ lint:
script:
# https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763
- export SETUPTOOLS_USE_DISTUTILS=stdlib
- export XDG_CACHE_HOME=.pre-commit
- pre-commit run -a
test:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment