From 3859d49fa62eb9c3b771ded3b11d4176884b56bb Mon Sep 17 00:00:00 2001 From: "duanyi.aster" Date: Mon, 29 Jul 2024 00:30:32 +0800 Subject: [PATCH] fix ci --- .github/workflows/go_latest_test.yml | 4 ++-- scripts/go_latest.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go_latest_test.yml b/.github/workflows/go_latest_test.yml index 877c6c302..c14380ab2 100644 --- a/.github/workflows/go_latest_test.yml +++ b/.github/workflows/go_latest_test.yml @@ -28,9 +28,9 @@ jobs: - name: script run: | - sh ./scripts/go_latest.sh go1.23rc2 + sh ./scripts/go_latest.sh go1.23 PWD=$(pwd) - export GOROOT=$PWD/go1.23rc2 + export GOROOT=$PWD/go1.23 export PATH=$GOROOT/bin:$PATH go version GOMAXPROCS=4 go test -v -race ./loader diff --git a/scripts/go_latest.sh b/scripts/go_latest.sh index 2218e9824..86f3037e2 100755 --- a/scripts/go_latest.sh +++ b/scripts/go_latest.sh @@ -1,11 +1,11 @@ #!/bin/bash TAG=$1 -git clone https://github.com/golang/go.git $TAG +git clone -b release-branch.$TAG https://github.com/golang/go.git $TAG cd $TAG/src -git checkout -b build/$TAG $TAG -./all.bash > /dev/null +./all.bash +