persist .git

This commit is contained in:
dignifiedquire
2019-09-18 20:46:19 +02:00
committed by holger krekel
parent c7686e0a97
commit cc1d520580

View File

@@ -50,7 +50,8 @@ jobs:
- run: cargo fetch - run: cargo fetch
- run: rustc +stable --version - run: rustc +stable --version
- run: rustc +$(cat rust-toolchain) --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: - persist_to_workspace:
root: /mnt root: /mnt
paths: paths:
@@ -60,6 +61,7 @@ jobs:
paths: paths:
- "~/.cargo" - "~/.cargo"
- "~/.rustup" - "~/.rustup"
- ".git"
rustfmt: rustfmt:
executor: default executor: default