You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use Go tool system to manage "go-bindata" tool dependency
The "go-bindata" tool is used to embed the JSON schemas used by Arduino Lint's rules as Go code, allowing the tool
installation to consist of a single executable file.
Previously, the tool was installed via a `go install` command in the task. This approach is problematic for several
reasons:
- It installs the tool globally (in GOBIN), and thus pollutes the contributor's global environment
- The tool must be updated manually
Since go-bindata is a Go module-based project, it can be installed and managed by using the Go modules system, which has
explicit support for tool dependencies as of the Go 1.24 release.
This will allow keeping the dependency updated via the Dependabot service, just as is done with the Go module
dependencies of the codebase, and other tool dependencies.
0 commit comments