From a09aa136bc54cb08d7f153767b4ad224b7430fe0 Mon Sep 17 00:00:00 2001 From: throwaway-fishery <110985138+throwaway-fishery@users.noreply.github.com> Date: Thu, 18 Aug 2022 12:42:31 +0100 Subject: [PATCH] Remove debug echos & test windows shallow --- .circleci/config.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ac4201e4dd8aa8..fa8a4f45beb8df 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -127,21 +127,14 @@ commands: - run: name: Add shhkey for github command: | - mkdir -p ~/.ssh + mkdir ~/.ssh ssh-keyscan -H github.com >> ~/.ssh/known_hosts - run: name: Get URL and clone command: | - SECONDS=0 git clone --branch main --no-checkout "$CIRCLE_REPOSITORY_URL" --single-branch . - echo "finished cloning" - echo $SECONDS git fetch --force --depth 1 origin +refs/pull/$CIRCLE_PR_NUMBER/head:refs/remotes/origin/pull/$CIRCLE_PR_NUMBER - echo "finished fetching" - echo $SECONDS git checkout --force -B "$CIRCLE_BRANCH" "$CIRCLE_SHA1" - echo "finished checkout" - echo $SECONDS # Checkout with cache, on machines that are using Docker the cache is ignored checkout_code_with_cache: parameters: @@ -828,7 +821,8 @@ jobs: - ANDROID_TOOLS_VERSION: 31.0.0 - GRADLE_OPTS: -Dorg.gradle.daemon=false steps: - - checkout_code_with_cache + - checkout_code_with_cache: + shallow_checkout: True - run: name: Install Node