From e5d2e4abe0f6f69cae54f19e6c0faa8afc9aefbe Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sat, 24 Jun 2023 10:27:51 +0200 Subject: [PATCH 1/2] upgrade to go1.20.5 --- forgejo-test-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forgejo-test-helper.sh b/forgejo-test-helper.sh index 659a0c4..c9ad0ed 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 } From 5a8583b78192f7852d924f445fe5478c89f4b7e2 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sat, 24 Jun 2023 10:28:04 +0200 Subject: [PATCH 2/2] show the full status when a test run fails --- forgejo-test-helper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/forgejo-test-helper.sh b/forgejo-test-helper.sh index c9ad0ed..a41e994 100755 --- a/forgejo-test-helper.sh +++ b/forgejo-test-helper.sh @@ -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 }