From bc88fd0b3e8cacf4436a2821474fb74ff0b42e08 Mon Sep 17 00:00:00 2001 From: Jonas Bushart Date: Sat, 21 Jan 2023 18:18:27 +0100 Subject: [PATCH] Enable sparse registry access after stabilization https://github.com/rust-lang/cargo/pull/11224 https://github.com/dtolnay/rust-toolchain/pull/54 --- CHANGELOG.md | 8 ++++++++ action.yml | 3 +++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f961e6f..d0dad58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.3.5] - 2023-01-21 + +### Changed + +* Use the newly stabilized setting to enable sparse registry access. + This speeds up access to the crate registry and is in addition to the unstable nightly env var. + + ## [1.3.4] - 2022-10-15 ### Changed diff --git a/action.yml b/action.yml index a0c54f3..45b5ee5 100644 --- a/action.yml +++ b/action.yml @@ -65,6 +65,9 @@ runs: # Enable faster sparse index on nightly # https://internals.rust-lang.org/t/call-for-testing-cargo-sparse-registry/16862 echo "CARGO_UNSTABLE_SPARSE_REGISTRY=true" >> $GITHUB_ENV + # Enable sparse index after stabilization + # https://github.com/rust-lang/cargo/pull/11224 + echo "REGISTRIES_CRATES_IO_PROTOCOL=sparse" >> $GITHUB_ENV shell: bash - name: "Install Rust Problem Matcher" run: echo "::add-matcher::${{ github.action_path }}/rust.json"