Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Jul 28, 2024
1 parent bf736e5 commit 3859d49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go_latest_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions scripts/go_latest.sh
Original file line number Diff line number Diff line change
@@ -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



0 comments on commit 3859d49

Please sign in to comment.