about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-13 12:58:31 +0000
committerbors <bors@rust-lang.org>2022-10-13 12:58:31 +0000
commit9a6eca5f852830cb5e9a520f79ce02e6aae9a1b1 (patch)
treec6d532c08b953fd9ce0db5782a8cf47fba7337dd
parent4e89ffa656c24d9fcb91ad7b182d2fefed86cda6 (diff)
parenta31462a07234e09e4bf538cba474d2e016775806 (diff)
downloadrust-9a6eca5f852830cb5e9a520f79ce02e6aae9a1b1.tar.gz
rust-9a6eca5f852830cb5e9a520f79ce02e6aae9a1b1.zip
Auto merge of #9641 - Alexendoo:sparse-registry, r=flip1995
Enable cargo sparse registry in CI

https://blog.rust-lang.org/2022/06/22/sparse-registry-testing.html

The initial registry update takes around 1 minute currently, so this gives quite a nice speed boost to CI build times

r? `@flip1995`

changelog: none
-rw-r--r--.github/workflows/clippy.yml1
-rw-r--r--.github/workflows/clippy_bors.yml1
-rw-r--r--.github/workflows/clippy_dev.yml2
3 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index fac2c99714d..b9921301197 100644
--- a/.github/workflows/clippy.yml
+++ b/.github/workflows/clippy.yml
@@ -25,6 +25,7 @@ env:
   CARGO_TARGET_DIR: '${{ github.workspace }}/target'
   NO_FMT_TEST: 1
   CARGO_INCREMENTAL: 0
+  CARGO_UNSTABLE_SPARSE_REGISTRY: true
 
 jobs:
   base:
diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml
index 30607af4901..6448b2d4068 100644
--- a/.github/workflows/clippy_bors.yml
+++ b/.github/workflows/clippy_bors.yml
@@ -11,6 +11,7 @@ env:
   CARGO_TARGET_DIR: '${{ github.workspace }}/target'
   NO_FMT_TEST: 1
   CARGO_INCREMENTAL: 0
+  CARGO_UNSTABLE_SPARSE_REGISTRY: true
 
 defaults:
   run:
diff --git a/.github/workflows/clippy_dev.yml b/.github/workflows/clippy_dev.yml
index 22051093c9c..14f20212add 100644
--- a/.github/workflows/clippy_dev.yml
+++ b/.github/workflows/clippy_dev.yml
@@ -15,6 +15,8 @@ on:
 
 env:
   RUST_BACKTRACE: 1
+  CARGO_INCREMENTAL: 0
+  CARGO_UNSTABLE_SPARSE_REGISTRY: true
 
 jobs:
   clippy_dev: