From cc1d5205806eed785b83b35b95528d1c15435a4c Mon Sep 17 00:00:00 2001 From: dignifiedquire Date: Wed, 18 Sep 2019 20:46:19 +0200 Subject: [PATCH] persist .git --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d66f2d6bd..f199186fa 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,7 +50,8 @@ jobs: - run: cargo fetch - run: rustc +stable --version - run: rustc +$(cat rust-toolchain) --version - - run: rm -rf .git + # make sure this git repo doesn't grow too big + - run: git gc - persist_to_workspace: root: /mnt paths: @@ -60,6 +61,7 @@ jobs: paths: - "~/.cargo" - "~/.rustup" + - ".git" rustfmt: executor: default