From 03b2614862f0b46d97e0bcb87ab2abc4883f9d75 Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Wed, 2 Jun 2021 13:02:08 -0700 Subject: [PATCH] Output the rust version for each build. This makes it easier to determine if issues are related to which Rust version is being run in CI. Work on #281 --- cloudbuild.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index e961215536..340801bb85 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -27,6 +27,9 @@ steps: git clone --depth 1000 https://github.com/googleapis/googleapis.git proto/googleapis git -C proto/googleapis checkout a0d282daa691e95ec51131c81c3777fc95abf7f8 id: fetch-git-submodules + - name: us-docker.pkg.dev/$PROJECT_ID/ci/cargo + args: ["rustc", "-vV"] + id: version # clippy tends to rely on cached results from other cargo sub-commands so # that it skips checking some files that were built previously. As a result # we run it before other cargo sub-commands to ensure that it checks all files.