github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/.github/workflows/run.sh (about) 1 #!/usr/bin/env bash 2 # Copyright 2020 syzkaller project authors. All rights reserved. 3 # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 4 5 export HOME="$PWD" 6 mkdir -p .cache 7 set -o pipefail 8 # Run the specified command and convert error messages to github format: 9 # https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message 10 $1 "${@:2}" | \ 11 sed -E 's#\s*([a-zA-Z0-9._/-]+):([0-9]+):(([0-9]+):)? (.+)#\0\n::error file=\1,line=\2,col=0\4::\5#'