CI: Also include cargo files in cache

Maxime “pep” Buquet created

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>

Change summary

.gitlab-ci.yml | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

.gitlab-ci.yml 🔗

@@ -13,6 +13,7 @@ variables:
     key: stable
     paths:
       - target/
+      - ~/.cargo
 
 .nightly:
   image: rustlang/rust:nightly
@@ -20,6 +21,7 @@ variables:
     key: nightly
     paths:
       - target/
+      - ~/.cargo
 
 .build:
   stage: build