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 Oct 30, 2022
1 parent 6139820 commit 5c1cb60
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-22.04
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 5c1cb60

Please sign in to comment.