mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-27 09:05:23 +01:00
Enable sparse registry access after stabilization
https://github.com/rust-lang/cargo/pull/11224 https://github.com/dtolnay/rust-toolchain/pull/54
This commit is contained in:
parent
685abf8306
commit
bc88fd0b3e
2 changed files with 11 additions and 0 deletions
|
@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [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.
|
||||||
|
<https://github.com/rust-lang/cargo/pull/11224>
|
||||||
|
|
||||||
## [1.3.4] - 2022-10-15
|
## [1.3.4] - 2022-10-15
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -65,6 +65,9 @@ runs:
|
||||||
# Enable faster sparse index on nightly
|
# Enable faster sparse index on nightly
|
||||||
# https://internals.rust-lang.org/t/call-for-testing-cargo-sparse-registry/16862
|
# https://internals.rust-lang.org/t/call-for-testing-cargo-sparse-registry/16862
|
||||||
echo "CARGO_UNSTABLE_SPARSE_REGISTRY=true" >> $GITHUB_ENV
|
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
|
shell: bash
|
||||||
- name: "Install Rust Problem Matcher"
|
- name: "Install Rust Problem Matcher"
|
||||||
run: echo "::add-matcher::${{ github.action_path }}/rust.json"
|
run: echo "::add-matcher::${{ github.action_path }}/rust.json"
|
||||||
|
|
Loading…
Reference in a new issue