mirror of
https://github.com/spf13/viper
synced 2025-05-06 04:07:17 +00:00
try excluding vendor from gofmt
This commit is contained in:
parent
7d500a2af3
commit
8a855103ac
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ install: true
|
|||
|
||||
script:
|
||||
- go mod vendor
|
||||
- diff -u <(echo -n) <(gofmt -d .)
|
||||
- diff -u <(echo -n) <(gofmt -d $(go list ./... | grep -v /vendor/))
|
||||
- go test -v -mod=readonly ./...
|
||||
|
||||
after_success:
|
||||
|
|
Loading…
Add table
Reference in a new issue