File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 5555 sim-limit : compat
5656 max-allowed-failures : 23
5757 steps :
58+ - name : Checkout Erigon go.mod
59+ uses : actions/checkout@v6
60+ with :
61+ sparse-checkout : go.mod
62+ path : erigon-src
63+
5864 - name : Checkout Hive
5965 uses : actions/checkout@v6
6066 with :
96102 echo Building Hive with Erigon repo - ${SOURCE_REPO}, branch - $branch_name
97103 sed -i "s|^ARG github=erigontech/erigon$|ARG github=${SOURCE_REPO}|" clients/erigon/Dockerfile
98104 sed -i "s/^ARG tag=main$/ARG tag=${branch_name}/" clients/erigon/Dockerfile
105+ go_version=$(go mod edit -json ../erigon-src/go.mod | jq -r .Go)
106+ echo "Patching builder Go version to ${go_version}"
107+ sed -i "s|golang:[0-9.]*-alpine|golang:${go_version}-alpine|" clients/erigon/Dockerfile
99108 go build . >> buildlogs.log
100109 # Depends on the last line of hive output that prints the number of suites, tests and failed
101110 # Currently, we fail even if suites and tests are too few, indicating the tests did not run
You can’t perform that action at this time.
0 commit comments