diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-06-04 22:04:02 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-05 12:23:19 +0200 |
| commit | 7c84a90501094cc1d7f76c4957c59f53a8e5baa1 (patch) | |
| tree | bcbb2fbb3a5dedba4d6391e7c3863b193c79257b /.github/workflows | |
| parent | 2420d1bcbcd9f5d5893c1aab8096cce81721dac2 (diff) | |
.github/workflows: support errors without :column
Also transform:
file.go:line: error message
to the github format.
Diffstat (limited to '.github/workflows')
| -rwxr-xr-x | .github/workflows/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/run.sh b/.github/workflows/run.sh index 697d7e366..0d0a6bbef 100755 --- a/.github/workflows/run.sh +++ b/.github/workflows/run.sh @@ -8,4 +8,4 @@ set -o pipefail # Run the specified command in syz-env and convert error messages to github format: # https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message gopath/src/github.com/google/syzkaller/tools/$1 "${@:2}" | \ - sed -E 's#\s*(.+):([0-9]+):([0-9]+): (.+)#\0\n::error file=\1,line=\2,col=\3::\4#' + sed -E 's#\s*([a-zA-Z0-9._/-]+):([0-9]+):(([0-9]+):)? (.+)#\0\n::error file=\1,line=\2,col=0\4::\5#' |
