File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ BUILD_LDFLAGS = -X $(PKG).commit=$(COMMIT) -X $(PKG).date=$(DATE)
99
1010default : test
1111
12- ci : depsdev test-all
12+ ci : depsdev check-license test-all
1313
1414test : cert
1515 go test ./... -coverprofile=coverage.out -covermode=count
3636 govulncheck ./...
3737 go vet -vettool=` which gostyle` -gostyle.config=$(PWD ) /.gostyle.yml ./...
3838
39+ check-license :
40+ go-licenses check ./... --disallowed_types=permissive,forbidden,restricted --include_tests
41+
3942doc :
4043 go run ./scripts/fndoc.go
4144
@@ -48,6 +51,7 @@ depsdev:
4851 go install golang.org/x/vuln/cmd/govulncheck@latest
4952 go install github.com/k1LoW/octocov-go-test-bench/cmd/octocov-go-test-bench@latest
5053 go install github.com/k1LoW/gostyle@latest
54+ go install github.com/google/go-licenses/v2@latest
5155
5256cert :
5357 rm -f testdata/* .pem testdata/* .srl
You can’t perform that action at this time.
0 commit comments