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