lint: Use git clone --depth=1

No need to download and store more than that.
This commit is contained in:
MarcoFalke 2024-07-22 17:40:58 +02:00
parent fadb7c2a91
commit fa7bee13bf
No known key found for this signature in database

View file

@ -21,7 +21,7 @@ ${CI_RETRY_EXE} apt-get install -y automake pkg-config libtool curl xz-utils git
PYTHON_PATH="/python_build"
if [ ! -d "${PYTHON_PATH}/bin" ]; then
(
${CI_RETRY_EXE} git clone https://github.com/pyenv/pyenv.git
${CI_RETRY_EXE} git clone --depth=1 https://github.com/pyenv/pyenv.git
cd pyenv/plugins/python-build || exit 1
./install.sh
)