Skip to content

Commit

Permalink
Add kotlin compiler matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
clementetb committed Jun 4, 2024
1 parent 5ccc249 commit 27c4c39
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/problem-matchers/kotlin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"problemMatcher": [
{
"owner": "kotlin",
"severity": "error",
"pattern": [
{
"regexp": "e:\\s(.+):(\\d+):(\\d+)\\s(.+)",
"file": 2,
"line": 3,
"column": 4,
"severity": 1,
"message": 5
}
]
},
{
"owner": "kotlin",
"severity": "warning",
"pattern": [
{
"regexp": "w:\\s(.+):(\\d+):(\\d+)\\s(.+)",
"file": 2,
"line": 3,
"column": 4,
"severity": 1,
"message": 5
}
]
}
]
}
4 changes: 3 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ jobs:
uses: actions/checkout@v3
with:
submodules: "recursive"

- name: Register problem matchers
run: |-
echo "::add-matcher::.github/problem-matchers/kotlin.json"
- name: Setup Java 11
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit 27c4c39

Please sign in to comment.