Skip to content

Commit 2fcdc49

Browse files
committed
Update readme and changelog for 1.15.0
1 parent 89d3d96 commit 2fcdc49

File tree

2 files changed

+25
-19
lines changed

2 files changed

+25
-19
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.15.0] - 2025-09-14
11+
12+
* Add support for non-root source directory.
13+
Accept source code and `rust-toolchain.toml` file in subdirectories of the repository.
14+
Adds a new parameter `rust-src-dir` that controls the lookup for toolchain files and sets a default value for the `cache-workspace` input. (#69 by @Kubaryt)
15+
1016
## [1.14.1] - 2025-08-28
1117

1218
* Pin `Swatinem/rust-cache` action to a full commit SHA (#68 by @JohnTitor)

README.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,25 @@ If no `toolchain` value or toolchain file is present, it will default to `stable
4848
First, all items specified in the toolchain file are installed.
4949
Afterward, the `components` and `target` specified via inputs are installed in addition to the items from the toolchain file.
5050

51-
| Name | Description | Default |
52-
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------- | ------------- |
53-
| `toolchain` | Comma-separated list of Rustup toolchain specifier e.g. `stable`, `nightly`, `1.42.0`. The last version is the default. | stable |
54-
| `target` | Additional target support to install e.g. `wasm32-unknown-unknown` | |
55-
| `components` | Comma-separated string of additional components to install e.g. `clippy, rustfmt` | |
56-
| `cache` | Automatically configure Rust cache (using [`Swatinem/rust-cache`]) | true |
57-
| `cache-directories` | Propagates the value to [`Swatinem/rust-cache`] | |
58-
| `cache-workspaces` | Propagates the value to [`Swatinem/rust-cache`] | |
59-
| `cache-on-failure` | Propagates the value to [`Swatinem/rust-cache`] | true |
60-
| `cache-key` | Propagates the value to [`Swatinem/rust-cache`] as `key` | |
61-
| `cache-shared-key` | Propagates the value to [`Swatinem/rust-cache`] as `shared-key` | |
62-
| `cache-bin` | Propagates the value to [`Swatinem/rust-cache`] as `cache-bin` | true |
63-
| `cache-provider` | Propagates the value to [`Swatinem/rust-cache`] as `cache-provider` | 'github' |
64-
| `cache-all-crates` | Propagates the value to [`Swatinem/rust-cache`] as `cache-all-crates` | false |
65-
| `cache-workspace-crates` | Propagates the value to [`Swatinem/rust-cache`] as `cache-workspace-crates` | false |
66-
| `matcher` | Enable problem matcher to surface build messages and formatting issues | true |
67-
| `rustflags` | Set the value of `RUSTFLAGS` (set to empty string to avoid overwriting existing flags) | "-D warnings" |
68-
| `override` | Setup the last installed toolchain as the default via `rustup override` | true |
69-
| `rust-src-dir` | Path from root directory to directory with the Rust source directory (if its not in the root of the repository) | |
51+
| Name | Description | Default |
52+
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
53+
| `toolchain` | Comma-separated list of Rustup toolchain specifier e.g. `stable`, `nightly`, `1.42.0`. The last version is the default. | stable |
54+
| `target` | Additional target support to install e.g. `wasm32-unknown-unknown` | |
55+
| `components` | Comma-separated string of additional components to install e.g. `clippy, rustfmt` | |
56+
| `cache` | Automatically configure Rust cache (using [`Swatinem/rust-cache`]) | true |
57+
| `cache-directories` | Propagates the value to [`Swatinem/rust-cache`] | |
58+
| `cache-workspaces` | Propagates the value to [`Swatinem/rust-cache`]. Influenced by the value of `rust-src-dir`. | |
59+
| `cache-on-failure` | Propagates the value to [`Swatinem/rust-cache`] | true |
60+
| `cache-key` | Propagates the value to [`Swatinem/rust-cache`] as `key` | |
61+
| `cache-shared-key` | Propagates the value to [`Swatinem/rust-cache`] as `shared-key` | |
62+
| `cache-bin` | Propagates the value to [`Swatinem/rust-cache`] as `cache-bin` | true |
63+
| `cache-provider` | Propagates the value to [`Swatinem/rust-cache`] as `cache-provider` | 'github' |
64+
| `cache-all-crates` | Propagates the value to [`Swatinem/rust-cache`] as `cache-all-crates` | false |
65+
| `cache-workspace-crates` | Propagates the value to [`Swatinem/rust-cache`] as `cache-workspace-crates` | false |
66+
| `matcher` | Enable problem matcher to surface build messages and formatting issues | true |
67+
| `rustflags` | Set the value of `RUSTFLAGS` (set to empty string to avoid overwriting existing flags) | "-D warnings" |
68+
| `override` | Setup the last installed toolchain as the default via `rustup override` | true |
69+
| `rust-src-dir` | Path from root directory to directory with the Rust source directory (if its not in the root of the repository). Sets a default value for `cache-workspaces` that enables caching. | |
7070

7171
[`Swatinem/rust-cache`]: https://github.com/Swatinem/rust-cache
7272

0 commit comments

Comments
 (0)