CI: Show rustc and cargo version

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2021-12-27 01:22:53 +01:00
parent f0b302da1f
commit 63733885d2
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -6,12 +6,21 @@ variables:
FEATURES: "" FEATURES: ""
RUST_BACKTRACE: "full" RUST_BACKTRACE: "full"
.show-version:
before_script:
- rustc --version
- cargo --version
.stable: .stable:
image: rust:latest image: rust:latest
extends:
- .show-version
.nightly: .nightly:
image: rustlang/rust:nightly image: rustlang/rust:nightly
allow_failure: true # It's not often, but it happens nightly breaks, surprisingly. allow_failure: true # It's not often, but it happens nightly breaks, surprisingly.
extends:
- .show-version
.test: .test:
stage: test stage: test