Skip to content

Commit 9a6eca5

Browse files
committed
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
2 parents 4e89ffa + a31462a commit 9a6eca5

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/clippy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ env:
2525
CARGO_TARGET_DIR: '${{ github.workspace }}/target'
2626
NO_FMT_TEST: 1
2727
CARGO_INCREMENTAL: 0
28+
CARGO_UNSTABLE_SPARSE_REGISTRY: true
2829

2930
jobs:
3031
base:

.github/workflows/clippy_bors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111
CARGO_TARGET_DIR: '${{ github.workspace }}/target'
1212
NO_FMT_TEST: 1
1313
CARGO_INCREMENTAL: 0
14+
CARGO_UNSTABLE_SPARSE_REGISTRY: true
1415

1516
defaults:
1617
run:

.github/workflows/clippy_dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ on:
1515

1616
env:
1717
RUST_BACKTRACE: 1
18+
CARGO_INCREMENTAL: 0
19+
CARGO_UNSTABLE_SPARSE_REGISTRY: true
1820

1921
jobs:
2022
clippy_dev:

0 commit comments

Comments
 (0)