mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-27 09:05:23 +01:00
Merge pull request #15 from actions-rust-lang/fix-problem-matcher
This commit is contained in:
commit
ac6bb38f31
2 changed files with 13 additions and 5 deletions
|
@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.4.4] - 2023-03-18
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Use color aware problem matcher.
|
||||||
|
The problem matcher currently runs against the colored terminal output ([Bug 1](https://github.com/actions/runner/issues/2341), [Bug 2](https://github.com/actions/runner/pull/2430)).
|
||||||
|
The previous matcher was not aware of ANSII color codes and did not work.
|
||||||
|
|
||||||
## [1.4.3] - 2023-02-21
|
## [1.4.3] - 2023-02-21
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
10
rust.json
10
rust.json
|
@ -16,16 +16,16 @@
|
||||||
"owner": "clippy",
|
"owner": "clippy",
|
||||||
"pattern": [
|
"pattern": [
|
||||||
{
|
{
|
||||||
"regexp": "^(warning|warn|error)(\\[(.*)\\])?: (.*)$",
|
"regexp": "^(?:\\x1b\\[[\\d;]+m)*(warning|warn|error)(?:\\x1b\\[[\\d;]+m)*(\\[(.*)\\])?(?:\\x1b\\[[\\d;]+m)*:(?:\\x1b\\[[\\d;]+m)* ([^\\x1b]*)(?:\\x1b\\[[\\d;]+m)*$",
|
||||||
"severity": 1,
|
"severity": 1,
|
||||||
"message": 4,
|
"message": 4,
|
||||||
"code": 3
|
"code": 3
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"regexp": "^([\\s\\->=]*(.*):(\\d*):(\\d*)|.*)$",
|
"regexp": "^(?:\\x1b\\[[\\d;]+m)*\\s*(?:\\x1b\\[[\\d;]+m)*\\s*--> (?:\\x1b\\[[\\d;]+m)*(.*):(\\d*):(\\d*)(?:\\x1b\\[[\\d;]+m)*$",
|
||||||
"file": 2,
|
"file": 1,
|
||||||
"line": 3,
|
"line": 2,
|
||||||
"column": 4
|
"column": 3
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue