ci(fuzz): remove Go 1.18 workaround for OSS-Fuzz (#8711)

This commit is contained in:
Elias Naur
2022-06-07 15:11:06 +02:00
committed by GitHub
parent 618b841a4b
commit 3bb68b49f5

View File

@@ -3,15 +3,6 @@
# See https://github.com/google/oss-fuzz/blob/master/projects/tendermint/build.sh
set -euo pipefail
# Upgrade to Go 1.18. Remove when it's the default.
apt-get update && apt-get install -y wget
wget https://go.dev/dl/go1.18.2.linux-amd64.tar.gz
mkdir -p temp-go
rm -rf /root/.go/*
tar -C temp-go/ -xzf go1.18.2.linux-amd64.tar.gz
mv temp-go/go/* /root/.go/
export FUZZ_ROOT="github.com/tendermint/tendermint"
build_go_fuzzer() {