bugsnag / bugsnag-go

Automatic panic monitoring for Go and Go web frameworks, like negroni, gin, and revel
https://docs.bugsnag.com/platforms/go
MIT License
204 stars 69 forks source link

Updated test matrix to latest go versions. #205

Closed nickpaisley closed 8 months ago

nickpaisley commented 9 months ago

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 in main.go with noinline to accommodate the inline function behavior introduced in 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.

Moved ARG GO_VERSION up to allow consumption by RUN command.

Testing

Relying on testing via CI.