lint: Use git clone --depth=1

No need to download and store more than that.
pull/30501/head
MarcoFalke 4 months ago
parent fadb7c2a91
commit fa7bee13bf
No known key found for this signature in database

@ -21,7 +21,7 @@ ${CI_RETRY_EXE} apt-get install -y automake pkg-config libtool curl xz-utils git
PYTHON_PATH="/python_build" PYTHON_PATH="/python_build"
if [ ! -d "${PYTHON_PATH}/bin" ]; then 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 cd pyenv/plugins/python-build || exit 1
./install.sh ./install.sh
) )

Loading…
Cancel
Save