Skip to content

Commit

Permalink
test go1.21rc4
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Aug 2, 2023
1 parent 69f468b commit 6e35082
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go_latest_test.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20.x
go-version: 1.20.6

- uses: actions/cache@v2
with:
Expand All @@ -25,4 +25,4 @@ jobs:
- name: script
run: |
sh ./scripts/go_latest.sh master
sh ./scripts/go_latest.sh go1.21rc4
11 changes: 5 additions & 6 deletions scripts/go_latest.sh
@@ -1,11 +1,10 @@
#!/bin/bash
#!/bin/ba
TAG=$1

BRANCH=$1
git clone https://github.com/golang/go.git $TAG

git clone https://github.com/golang/go.git go_$BRANCH

cd go_$BRANCH/src
git checkout -b build/$BRANCH origin/$BRANCH
cd $TAG/src
git checkout -b build/$TAG $TAG

./all.bash

Expand Down

0 comments on commit 6e35082

Please sign in to comment.