Closed nickpaisley closed 8 months ago
Update test matrix to include latest versions of Go.
Make sure building with the latest versions of Go is successful and monitor how long it takes to build.
Added latest Go versions, v1.17 - v1.22, to test-matrix.
v1.17 - v1.22
Updated the unhandledCrash() function in main.go with noinline to accommodate the inline function behavior introduced in v1.17+.
unhandledCrash()
main.go
noinline
v1.17+
Updated the RUN commands in all Dockerfile(s) to a conditional to use go get or go install dependent on the version of Go being used.
RUN
go get
go install
Moved ARG GO_VERSION up to allow consumption by RUN command.
ARG GO_VERSION
Relying on testing via CI.
Goal
Update test matrix to include latest versions of Go.
Design
Make sure building with the latest versions of Go is successful and monitor how long it takes to build.
Changeset
Added latest Go versions,
v1.17 - v1.22
, to test-matrix.Updated the
unhandledCrash()
function inmain.go
withnoinline
to accommodate the inline function behavior introduced inv1.17+
.Updated the
RUN
commands in all Dockerfile(s) to a conditional to usego get
orgo install
dependent on the version of Go being used.Moved
ARG GO_VERSION
up to allow consumption byRUN
command.Testing
Relying on testing via CI.