Skip to content

Commit 99ab88a

Browse files
authored
Merge branch 'main' into allow-overriding-toolchain-file
2 parents 962ed5e + c7e1de2 commit 99ab88a

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [1.6.0] - 2023-12-04
11+
12+
### Added
13+
14+
* Allow disabling problem matchers (#27)
15+
This can be useful when having a matrix of jobs, that produce the same errors.
16+
1017
## [1.5.0] - 2023-05-29
1118

1219
### Added

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Afterward, the `components` and `target` specified via inputs are installed in a
5454
| `target` | Additional target support to install e.g. `wasm32-unknown-unknown` | |
5555
| `components` | Comma-separated string of additional components to install e.g. `clippy, rustfmt` | |
5656
| `cache` | Automatically configure Rust cache (using `Swatinem/rust-cache`) | true |
57+
| `matcher` | Enable problem matcher to surface build messages and formatting issues | true |
5758
| `rustflags` | Set the value of `RUSTFLAGS` (set to empty string to avoid overwriting existing flags) | "-D warnings" |
5859

5960
### RUSTFLAGS
@@ -73,11 +74,12 @@ You can read more rustflags, and their load order, in the [Cargo reference].
7374

7475
## Outputs
7576

76-
| Name | Description |
77-
| ---------------- | ----------------------------------------- |
78-
| `rustc-version` | Version as reported by `rustc --version` |
79-
| `cargo-version` | Version as reported by `cargo --version` |
80-
| `rustup-version` | Version as reported by `rustup --version` |
77+
| Name | Description |
78+
| ---------------- | ------------------------------------------- |
79+
| `rustc-version` | Version as reported by `rustc --version` |
80+
| `cargo-version` | Version as reported by `cargo --version` |
81+
| `rustup-version` | Version as reported by `rustup --version` |
82+
| `cachekey` | A short hash of the installed rustc version |
8183

8284
## License
8385

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ inputs:
2525
description: "Automatically configure Rust cache"
2626
required: false
2727
default: "true"
28+
matcher:
29+
description: "Enable the Rust problem matcher"
30+
required: false
31+
default: "true"
2832
rustflags:
2933
description: "set RUSTFLAGS environment variable, set to empty string to avoid overwriting build.rustflags"
3034
required: false
@@ -95,6 +99,7 @@ runs:
9599
env:
96100
NEW_RUSTFLAGS: ${{inputs.rustflags}}
97101
- name: "Install Rust Problem Matcher"
102+
if: inputs.matcher == 'true'
98103
run: echo "::add-matcher::${{ github.action_path }}/rust.json"
99104
shell: bash
100105

0 commit comments

Comments
 (0)