Skip to content

Commit ef807cb

Browse files
committed
use problem matchers for tidy CI
1 parent 35636f9 commit ef807cb

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "tidy-error-file-line",
5+
"pattern": [
6+
{
7+
"regexp": "^tidy error: /checkout/(.+):(\\d+): (.+)$",
8+
"file": 1,
9+
"line": 2,
10+
"message": 3
11+
}
12+
]
13+
}
14+
]
15+
}

src/ci/scripts/run-build-from-ci.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
1010
export CI="true"
1111
export SRC=.
1212

13+
echo "::add-matcher::src/ci/github-actions/problem_matchers.json"
14+
1315
# Remove any preexisting rustup installation since it can interfere
1416
# with the cargotest step and its auto-detection of things like Clippy in
1517
# the environment

0 commit comments

Comments
 (0)