Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
aea84e9171 | |||
08010b773d | |||
dcf4d74c21 | |||
7d6ff77cf9 | |||
3ec6dbd408 |
14
CHANGELOG.md
14
CHANGELOG.md
@ -7,6 +7,20 @@ 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.
|
||||
<https://internals.rust-lang.org/t/call-for-testing-cargo-sparse-registry/16862>
|
||||
|
||||
## [1.3.0] - 2022-07-30
|
||||
|
||||
### Added
|
||||
|
||||
* An option to disable configuring Rust cache.
|
||||
Thanks to @filips123 for the PR.
|
||||
|
||||
## [1.2.1] - 2022-07-29
|
||||
|
||||
### Fixed
|
||||
|
@ -50,6 +50,7 @@ All input values are ignored if a toolchain file exists.
|
||||
| `toolchain` | Rustup toolchain specifier e.g. `stable`, `nightly`, `1.42.0`. | stable |
|
||||
| `target` | Additional target support to install e.g. `wasm32-unknown-unknown` | |
|
||||
| `components` | Comma-separated string of additional components to install e.g. `clippy, rustfmt` | |
|
||||
| `cache` | Automatically configure Rust cache (using `Swatinem/rust-cache`) | true |
|
||||
|
||||
## Outputs
|
||||
|
||||
|
@ -22,6 +22,10 @@ inputs:
|
||||
components:
|
||||
description: "Comma-separated list of components to be additionally installed"
|
||||
required: false
|
||||
cache:
|
||||
description: "Automatically configure Rust cache"
|
||||
required: false
|
||||
default: "true"
|
||||
|
||||
outputs:
|
||||
rustc-version:
|
||||
@ -58,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"
|
||||
@ -100,4 +107,5 @@ runs:
|
||||
shell: bash
|
||||
|
||||
- name: "Setup Rust Caching"
|
||||
if: inputs.cache == 'true'
|
||||
uses: Swatinem/rust-cache@v2
|
||||
|
Reference in New Issue
Block a user