heml specifies Go 1.17 as the minimum Go version, and this causes go mod
tidy to fail because Go 1.17 and Go 1.16 would select different versions
of a dependency (github.com/mattn/go-isatty). By default, tidy acts as
if the -compat flag were set to the version prior to the one indicated
by the 'go' directive in the go.mod file.
Since we use Go 1.19 to instrument the code, we patch the minimum
version in go.mod.
`go-118-fuzz-build` is undergoing refactoring to fix some runtime issues
affecting Rekor and other projects. Currently none of Rekors fuzzers
run. This PR has been tested on all of Rekors fuzzers that will run with
this PR.
This PR modifies the infra OSS-Fuzz build script to adapt to the
upstream changes.
Cloning the `dev` branch of `go-118-fuzz-build` is a temporary solution
until it gets merged into `main` upstream.
Cloning go-118-fuzz-build in each build script is also a temporary
measure until `dev` gets merged into `main`.
Signed-off-by: AdamKorcz <adam@adalogics.com>
Signed-off-by: AdamKorcz <adam@adalogics.com>