Skip to content

Commit 11df97a

Browse files
committed
Update the rustfmt problem matcher
rust-lang/rustfmt#5971 actions-rust-lang/rustfmt#5
1 parent 4d1965c commit 11df97a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-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.10.1] - 2024-10-01
11+
12+
* Fix problem matcher for rustfmt output.
13+
The format has changed since https://github.com/rust-lang/rustfmt/pull/5971 and now follows the form "filename:line".
14+
Thanks to @0xcypher02 for pointing out the problem.
15+
16+
## [1.10.0] - 2024-09-23
17+
1018
* Add new parameter `cache-directories` that is propagated to `Swatinem/rust-cache` (#44 by @pranc1ngpegasus)
1119
* Add new parameter `cache-key` that is propagated to `Swatinem/rust-cache` as `key` (#41 by @iainlane)
1220
* Make rustup toolchain installation more robust in light of planned changes https://github.com/rust-lang/rustup/issues/3635 and https://github.com/rust-lang/rustup/pull/3985

rust.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"severity": "warning",
66
"pattern": [
77
{
8-
"regexp": "^(Diff in (.+)) at line (\\d+):$",
8+
"regexp": "^(Diff in (.+))(?: at line |:)(\\d+):$",
99
"message": 1,
1010
"file": 2,
1111
"line": 3

0 commit comments

Comments
 (0)