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: 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