Skip to content

Commit fa7bee1

Browse files
author
MarcoFalke
committed
lint: Use git clone --depth=1
No need to download and store more than that.
1 parent fadb7c2 commit fa7bee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/lint/04_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ${CI_RETRY_EXE} apt-get install -y automake pkg-config libtool curl xz-utils git
2121
PYTHON_PATH="/python_build"
2222
if [ ! -d "${PYTHON_PATH}/bin" ]; then
2323
(
24-
${CI_RETRY_EXE} git clone https://github.com/pyenv/pyenv.git
24+
${CI_RETRY_EXE} git clone --depth=1 https://github.com/pyenv/pyenv.git
2525
cd pyenv/plugins/python-build || exit 1
2626
./install.sh
2727
)

0 commit comments

Comments
 (0)