build: update to Go 1.18
This PR introduces two changes:
- Updates the
godirective ingo.modfile by runninggo mod tidy -go=1.17to enable module graph pruning and lazy module loading. - Update GitHub Actions
go.ymlto Go 1.17
Note 1: This PR does not prevent users with earlier Go versions from successfully building packages from this module.
Note 2: The additional require directive is used to record indirect dependencies for Go 1.17 or higher, see https://go.dev/ref/mod#go-mod-file-go.
👍
Perhaps we bump this to 1.18 now that 1.17 is no longer supported and try to get it merged?
@aseigler Updated to Go 1.18. Please take a look again, thank you :smiley:
I think this is ready to merge @MasterKale unless anyone has objections? This is what is breaking actions currently.
I just first-time contributor actions, I think those have to run? Mobile doesn't show that real well so I'll check later today when I get back in front of a computer. If everything looks fine there I'll merge.
Merging despite test failures, it's @aseigler's fault if it breaks a bunch of stuff (and mine if it fixes them all) :shipit: