fix garble with newer Go tip versions

Some big changes landed in Go for the upcoming 1.20.

While here, remove the use of GOGC=off with make.bash,
as https://go.dev/cl/436235 makes that unnecessary now.
This commit is contained in:
Daniel Martí
2022-11-01 16:48:15 +00:00
parent ff521782f1
commit e61317e7ae
4 changed files with 20 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ jobs:
steps:
- name: Install Go
env:
GO_COMMIT: 5f566d35bf7d590c95f4d1b685b995deeb9ba957 # 2022-10-01
GO_COMMIT: 122a22e0e9eba7fe712030d429fc4bcf6f447f5e # 2022-11-12
run: |
cd $HOME
mkdir $HOME/gotip
@@ -89,8 +89,7 @@ jobs:
echo "devel go1.20-${GO_COMMIT}" >VERSION
cd src
# GOGC=off helps Go build about 20% faster, if we can spare memory.
GOGC=off ./make.bash
./make.bash
echo "GOROOT=$HOME/gotip" >>$GITHUB_ENV
echo "$HOME/gotip/bin" >>$GITHUB_PATH
- uses: actions/checkout@v3