2 Commits
0.3.0 ... 0.4.1

Author SHA1 Message Date
Joakim Sørensen
2394c9008b Remove problem matcher
Fixes #21
2020-07-14 20:29:42 +02:00
Joakim Sørensen
637bb438ec Adds problem-matcher (#20)
* Adds problem-matcher

* Fix issue

* match as group 1

* use message

* Limit output

* remove testfile
2020-07-05 23:50:07 +02:00
3 changed files with 27 additions and 1 deletions

22
.github/problem-matcher.json vendored Normal file
View File

@@ -0,0 +1,22 @@
{
"problemMatcher": [
{
"owner": "shellcheck",
"pattern": [
{
"regexp": "^In\\s(.+)\\sline\\s(\\d+):$",
"file": 1,
"line": 2
},
{
"regexp": ".*"
},
{
"regexp": "(SC\\d+):\\s(.+)$",
"code": 1,
"message": 2
}
]
}
]
}

View File

@@ -1,5 +1,7 @@
#!/bin/bash
## Enable problem matcher
cd "$GITHUB_WORKSPACE" || exit 1
declare statuscode

View File

@@ -1,3 +1,5 @@
#!/bin/sh
echo $test
echo $test $test
echo $test2