Skip to content
Snippets Groups Projects
Unverified Commit c71fcc8c authored by Franck Nijhof's avatar Franck Nijhof Committed by GitHub
Browse files

GitHub Actions: Add json problem matcher (#37490)

* GitHub Actions: Add json problem matcher

* Create a problem for testing

* Revert "Create a problem for testing"

This reverts commit d7735e4af39a18cb8d080bfc01e483065bbd06b6.
parent 83b41897
No related branches found
No related tags found
No related merge requests found
......@@ -393,6 +393,9 @@ jobs:
run: |
echo "Failed to restore Python virtual environment from cache"
exit 1
- name: Register check-json problem matcher
run: |
echo "::add-matcher::.github/workflows/matchers/check-json.json"
- name: Run check-json
run: |
. venv/bin/activate
......
{
"problemMatcher": [
{
"owner": "check-json",
"pattern": [
{
"regexp": "^(.+):\\s(.+\\sline\\s(\\d+)\\scolumn\\s(\\d+).+)$",
"file": 1,
"message": 2,
"line": 3,
"column": 4
}
]
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment