mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-10 09:50:58 +02:00
8d93efab11
* Run go generate in the precommit target So we should always get an updated version of a file generated by a stringer utility. * Update the generated file * Make CI to fail if working tree has uncommited changes The uncommitted changes may come from the golang linter (that formats our code among other things) and from stringer (when updated some enumeration).
10 lines
183 B
Go
10 lines
183 B
Go
// +build tools
|
|
|
|
package tools
|
|
|
|
import (
|
|
_ "github.com/client9/misspell/cmd/misspell"
|
|
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
|
|
_ "golang.org/x/tools/cmd/stringer"
|
|
)
|