-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update version of tooling and staticcheck (#280)
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
- run: make all | ||
- uses: dominikh/[email protected] | ||
with: | ||
version: "2023.1.3" | ||
version: "2023.1.7" | ||
install-go: false | ||
- name: Verify repo is up-to-date | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ test: | |
go test -v -race ./... | ||
|
||
fmt: | ||
go run golang.org/x/tools/cmd/goimports@v0.18.0 -w . | ||
go run golang.org/x/tools/cmd/goimports@v0.21.0 -w . | ||
|
||
protolint: | ||
docker run --volume "$(PWD):/workspace" --workdir /workspace bufbuild/buf lint model/proto | ||
|
@@ -20,7 +20,7 @@ generate_code: | |
generate: generate_code update-licenses | ||
|
||
fieldalignment: | ||
go run golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@v0.18.0 -test=false $(shell go list ./... | grep -v modeldecoder/generator | grep -v test | grep -v model/modelpb) | ||
go run golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@v0.21.0 -test=false $(shell go list ./... | grep -v modeldecoder/generator | grep -v test | grep -v model/modelpb) | ||
|
||
update-licenses: | ||
go run github.com/elastic/[email protected] -ext .go . | ||
|