Keep the target directory between runs
Browse files at this commit894eaf420829944718de81698b9fbd77f13fbb6fParent: cda33ca- ci
- keep the target directory between runs
1 changed file +2 -0
- .forge/ci.toml +2 -0
.forge/ci.tomlmodified+2 -0
| @@ -14,6 +14,7 @@ env = { CARGO_BUILD_JOBS = "1", CARGO_PROFILE_DEV_DEBUG = "0", CARGO_PROFILE_TES | |||
| 14 | run = """ | 14 | run = """ |
| 15 | cargo test --workspace | 15 | cargo test --workspace |
| 16 | """ | 16 | """ |
| 17 | +cache = ["target"] | ||
| 17 | timeout_minutes = 120 | 18 | timeout_minutes = 120 |
| 18 | 19 | ||
| 19 | [jobs.build] | 20 | [jobs.build] |
| @@ -27,4 +28,5 @@ mkdir -p dist | |||
| 27 | cp target/dist/forge dist/forge | 28 | cp target/dist/forge dist/forge |
| 28 | """ | 29 | """ |
| 29 | artifacts = ["dist/forge"] | 30 | artifacts = ["dist/forge"] |
| 31 | +cache = ["target"] | ||
| 30 | timeout_minutes = 120 | 32 | timeout_minutes = 120 |