From 08010b773d55423d485b899690df408d678f42e6 Mon Sep 17 00:00:00 2001 From: Jonas Bushart Date: Sun, 14 Aug 2022 15:09:22 +0000 Subject: [PATCH] Use sparse registry on nightly Fixes #5 --- CHANGELOG.md | 7 +++++++ action.yml | 3 +++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b3b2af..8336583 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.3.1] - 2022-08-14 + +### Changed + +* Use the sparse-registry on nightly for faster access to the crate registry on nightly. + + ## [1.3.0] - 2022-07-30 ### Added diff --git a/action.yml b/action.yml index df57569..9380b1e 100644 --- a/action.yml +++ b/action.yml @@ -62,6 +62,9 @@ runs: echo "CARGO_TERM_COLOR=always" >> $GITHUB_ENV echo "RUST_BACKTRACE=short" >> $GITHUB_ENV echo "RUSTFLAGS=-D warnings" >> $GITHUB_ENV + # 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 shell: bash - name: "Install Rust Problem Matcher" run: echo "::add-matcher::${{ github.action_path }}/rust.json"