Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tinygo version to v0.26.0 to fix version detection
tinygo failed to detect the go version; tinygo_test.go:22: empty: tinygo build [build -o=nativebin .]; output: error: could not read version from GOROOT (/opt/hostedtoolcache/go/1.19.3/x64): Invalid go version output: // Code generated by go tool dist; DO NOT EDIT. package sys const StackGuardMultiplierDefault = 1 This was due to changes in go, and fixed in tinygo v0.23 and up: tinygo-org/tinygo@e060e58 This version of tinygo requires go1.18 or up, so adding a build-constraint for the test: tinygo_test.go:28: empty: tinygo [build -target=arduino-nano33 -o=arduino-nano33.bin .] tinygo_test.go:28: empty: tinygo build [build -target=arduino-nano33 -o=arduino-nano33.bin .]; output: error: requires go version 1.18 through 1.19, got go1.14 Signed-off-by: Sebastiaan van Stijn <[email protected]>
- Loading branch information