diff --git a/forgejo-test-helper.sh b/forgejo-test-helper.sh index 659a0c4..a41e994 100755 --- a/forgejo-test-helper.sh +++ b/forgejo-test-helper.sh @@ -14,7 +14,7 @@ function dependency_go() { apt-get update apt-get install -y -qq wget tar wget --quiet https://go.dev/dl/go1.20.4.linux-amd64.tar.gz - tar zxf go1.20.4.linux-amd64.tar.gz + tar zxf go1.20.5.linux-amd64.tar.gz export PATH=$PATH:$(pwd)/go/bin fi } @@ -77,6 +77,7 @@ function wait_success() { done if ! test "$(check_status "$url" "$repo" "$sha")" = "success" ; then test "$FORGEJO_RUNNER_LOGS" && cat $FORGEJO_RUNNER_LOGS + api GET $url repos/$repo/commits/$sha/status | jq . return 1 fi }