Skip to content

Commit 18b4def

Browse files
authored
Add kotlin problem matchers (#1775)
1 parent f1c0935 commit 18b4def

File tree

11 files changed

+521
-433
lines changed

11 files changed

+521
-433
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "detekt",
5+
"severity": "error",
6+
"pattern": [
7+
{
8+
"regexp": "(.+\\.kt):(\\d+):(\\d+):\\s(.*)",
9+
"file": 1,
10+
"line": 2,
11+
"column": 3,
12+
"message": 4
13+
}
14+
]
15+
}
16+
]
17+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "kotlin",
5+
"severity": "error",
6+
"pattern": [
7+
{
8+
"regexp": "^e\\:\\s(?:(?:(.*):(?:\\s\\()?(\\d+)(?:(?:\\,\\s)|\\:)(\\d+))(?:\\))?\\:\\s)?(.*)$",
9+
"file": 1,
10+
"line": 2,
11+
"column": 3,
12+
"message": 4
13+
}
14+
]
15+
},
16+
{
17+
"owner": "kotlin-warning",
18+
"severity": "warning",
19+
"pattern": [
20+
{
21+
"regexp": "^w\\:\\s(?:(?:(.*):(?:\\s\\()?(\\d+)(?:(?:\\,\\s)|\\:)(\\d+))(?:\\))?\\:\\s)?(.*)$",
22+
"file": 1,
23+
"line": 2,
24+
"column": 3,
25+
"message": 4
26+
}
27+
]
28+
},
29+
{
30+
"owner": "gradle-warning",
31+
"severity": "warning",
32+
"pattern": [
33+
{
34+
"regexp": "^WARNING:(.*(?:\\n(?!w|e\\:|>|FAILURE|BUILD SUCCESSFUL).*)*)$",
35+
"message": 1
36+
}
37+
]
38+
}
39+
]
40+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "ktlint",
5+
"severity": "error",
6+
"pattern": [
7+
{
8+
"regexp": "(.+\\.kt):(\\d+):(\\d+):\\s(.*)",
9+
"file": 1,
10+
"line": 2,
11+
"column": 3,
12+
"message": 4
13+
}
14+
]
15+
}
16+
]
17+
}

.github/workflows/auto-merge-branches.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: git checkout
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
# Set the branch we want to merge changes into as step output. This step should list each branch name found in the `push`
2525
# trigger in the top of this file.

0 commit comments

Comments
 (0)