kubewarden / github-actions

GitHub actions used by the Kubewarden project
https://kubewarden.io
Apache License 2.0
4 stars 7 forks source link

fix tinygo build caused by go toolchain #109

Closed flavio closed 7 months ago

flavio commented 7 months ago

Latest version of Go introduces the concept of toolchain. This brings a new keyword inside of go.mod. This keyword can be understood using Go 1.21 or later.

Even though our Go policies are built with TinyGo, TinyGo requires the official Go compiler to perform some tasks. Because of that, we have to ensure the latest stable release of the Go compiler is installed inside of the build environment. We cannot rely on what is shipped out of the box with the GH runner image.

This PR contains two commits:

Once merged, I'll create the v3.1.16 tag.