From 7f23c0bd5ff9a21fcb25ba9becc99c4cbebfee93 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 4 Oct 2023 15:18:17 +0200 Subject: [PATCH] upgrade go v1.21.1 --- forgejo-test-helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forgejo-test-helper.sh b/forgejo-test-helper.sh index 64e160a..01dae72 100755 --- a/forgejo-test-helper.sh +++ b/forgejo-test-helper.sh @@ -12,14 +12,14 @@ DIR=$(mktemp -d) trap "rm -fr $DIR" EXIT function dependency_go() { - go_version="1.21.0.linux-amd64" # Set the desired Go version here + go_version="1.21.1.linux-amd64" # Set the desired Go version here if ! which go > /dev/null ; then apt-get update apt-get install -y -qq wget tar wget --quiet "https://go.dev/dl/go$go_version.tar.gz" tar zxf "go$go_version.tar.gz" - export PATH="$PATH:$(pwd)/go/bin" + export PATH="$(pwd)/go/bin:$PATH" fi }