Skip to content

Commit

Permalink
Add problem matcher for inline comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Bgeninatti committed Dec 21, 2021
1 parent af5da3d commit 2b389fe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/problem-matchers/pospell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"problemMatcher": [
{
"owner": "pospell",
"pattern": [
{
"regexp": "^(.*):(\\d+):(.*)$",
"file": 1,
"line": 2,
"message": 3
}
]
}
]
}
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Register problem matchers
run: echo "::add-matcher::.github/problem-matchers/pospell.json"
- uses: lots0logs/[email protected]
id: changed_files
with:
Expand Down

0 comments on commit 2b389fe

Please sign in to comment.