Skip to content

Commit dfa8744

Browse files
authored
Do not enable sparse registry on stable
1 parent 2941fbf commit dfa8744

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.3.7] - 2023-01-31
11+
12+
### Fixed
13+
14+
* Disable the stable access to the sparse registry.
15+
Setting the value causes problem on version before stabilization, e.g., 1.67.
16+
For example, "cargo add" fails.
17+
1018
## [1.3.6] - 2023-01-31
1119

1220
### Fixed

action.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,13 @@ runs:
6363
echo "RUST_BACKTRACE=short" >> $GITHUB_ENV
6464
echo "RUSTFLAGS=-D warnings" >> $GITHUB_ENV
6565
# Enable faster sparse index on nightly
66+
# The value is ignored on stable and causes no problems
6667
# https://internals.rust-lang.org/t/call-for-testing-cargo-sparse-registry/16862
6768
echo "CARGO_UNSTABLE_SPARSE_REGISTRY=true" >> $GITHUB_ENV
6869
# Enable sparse index after stabilization
70+
# This causes warnings on stable 1.67, e.g., when using "cargo add"
6971
# https://github.com/rust-lang/cargo/pull/11224
70-
echo "CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse" >> $GITHUB_ENV
72+
# echo "CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse" >> $GITHUB_ENV
7173
shell: bash
7274
- name: "Install Rust Problem Matcher"
7375
run: echo "::add-matcher::${{ github.action_path }}/rust.json"

0 commit comments

Comments
 (0)