From a904be25a20a0321c4f8372a3a34ed40a542149e Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 1 Sep 2023 15:14:28 +0200 Subject: [PATCH] Speed up build --- .woodpecker/test.yml | 2 +- tests/test.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 3a6d3ff4c..069a1a349 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -17,7 +17,7 @@ clone: settings: depth: 1 lfs: false - recursive: true + recursive: false tags: true steps: diff --git a/tests/test.sh b/tests/test.sh index bb522674a..846f6ef4c 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -7,6 +7,10 @@ mv composer.phar /usr/local/bin/composer apk add procps git unzip github-cli openssh +rm -rf docs +curl -L https://github.com/danog/MadelineProtoDocs/archive/refs/heads/master.tar.gz | tar -xz +mv MadelineProtoDocs-master/ docs + composer update composer build