From 2984eb779446c01182510770cff6c5eb74b1a198 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Thu, 10 Nov 2022 19:41:05 -0500 Subject: [PATCH] add restrictive license check to gorelease workflow (#5) --- .goreleaser.debug.yaml | 1 + .goreleaser.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.goreleaser.debug.yaml b/.goreleaser.debug.yaml index 4be8bfd..0703d21 100644 --- a/.goreleaser.debug.yaml +++ b/.goreleaser.debug.yaml @@ -4,6 +4,7 @@ project_name: casaos-message-bus before: hooks: - go generate + - go run github.com/google/go-licenses@latest check . --disallowed_types=restricted - go mod tidy - go test -v ./... builds: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0e35c5c..bc2ed92 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -4,6 +4,7 @@ project_name: casaos-message-bus before: hooks: - go generate + - go run github.com/google/go-licenses@latest check . --disallowed_types=restricted - go mod tidy - go test -v ./... builds: