Skip to content

Commit ac6bb38

Browse files
authored
Merge pull request #15 from actions-rust-lang/fix-problem-matcher
2 parents 3b557ff + 12a4c2d commit ac6bb38

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
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.4.4] - 2023-03-18
11+
12+
### Fixed
13+
14+
* Use color aware problem matcher.
15+
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)).
16+
The previous matcher was not aware of ANSII color codes and did not work.
17+
1018
## [1.4.3] - 2023-02-21
1119

1220
### Fixed

rust.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
"owner": "clippy",
1717
"pattern": [
1818
{
19-
"regexp": "^(warning|warn|error)(\\[(.*)\\])?: (.*)$",
19+
"regexp": "^(?:\\x1b\\[[\\d;]+m)*(warning|warn|error)(?:\\x1b\\[[\\d;]+m)*(\\[(.*)\\])?(?:\\x1b\\[[\\d;]+m)*:(?:\\x1b\\[[\\d;]+m)* ([^\\x1b]*)(?:\\x1b\\[[\\d;]+m)*$",
2020
"severity": 1,
2121
"message": 4,
2222
"code": 3
2323
},
2424
{
25-
"regexp": "^([\\s\\->=]*(.*):(\\d*):(\\d*)|.*)$",
26-
"file": 2,
27-
"line": 3,
28-
"column": 4
25+
"regexp": "^(?:\\x1b\\[[\\d;]+m)*\\s*(?:\\x1b\\[[\\d;]+m)*\\s*--> (?:\\x1b\\[[\\d;]+m)*(.*):(\\d*):(\\d*)(?:\\x1b\\[[\\d;]+m)*$",
26+
"file": 1,
27+
"line": 2,
28+
"column": 3
2929
}
3030
]
3131
}

0 commit comments

Comments
 (0)