use separate caches for stable/msrv/nightly jobs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lynne Megido 2021-04-28 23:56:05 +10:00
parent 32edcc0c92
commit 6d6897a86e
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

View file

@ -62,10 +62,14 @@ build-stable:
build-msrv: build-msrv:
extends: build-stable extends: build-stable
image: "rust:1.43.0" image: "rust:1.43.0"
cache:
key: msrv
build-nightly: build-nightly:
extends: build-stable extends: build-stable
image: "rustlang/rust:nightly" image: "rustlang/rust:nightly"
cache:
key: nightly
# TEST # TEST
@ -77,11 +81,15 @@ test-msrv:
extends: test-stable extends: test-stable
image: "rust:1.43.0" image: "rust:1.43.0"
needs: ["build-msrv"] needs: ["build-msrv"]
cache:
key: msrv
test-nightly: test-nightly:
extends: test-stable extends: test-stable
image: "rustlang/rust:nightly" image: "rustlang/rust:nightly"
needs: ["build-nightly"] needs: ["build-nightly"]
cache:
key: nightly
# VERSION # VERSION