From 6a03398faf82d419284cf7d18387de581f5908f6 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 20 Mar 2023 14:44:59 -0500 Subject: [PATCH] Speed up index fetches on CI (#6069) * Speed up index fetches on CI Use the `sparse` protocol from Rust 1.68.0 which should shave a minute or two off most steps on CI. * Update nightly toolchains in CI prtest:full * Fix date --- .github/actions/install-rust/action.yml | 6 ++++++ .github/workflows/main.yml | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/actions/install-rust/action.yml b/.github/actions/install-rust/action.yml index d8016f78e9..bf50acf267 100644 --- a/.github/actions/install-rust/action.yml +++ b/.github/actions/install-rust/action.yml @@ -44,6 +44,12 @@ runs: EOF fi + # Use a more efficient method for fetching the crates.io-index than + # the (currently) default git-based index. + cat >> "$GITHUB_ENV" <