Skip to content

Commit

Permalink
chore(ci): use header-checker-lint for license check (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdietz authored Dec 14, 2021
1 parent 6e0e4f1 commit 56ae2ca
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 94 deletions.
6 changes: 6 additions & 0 deletions .github/header-checker-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
allowedCopyrightHolders:
- 'Google LLC'
allowedLicenses:
- 'Apache-2.0'
sourceFileExtensions:
- 'go'
3 changes: 0 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
# Exclude all of the grpc_service_config package (it is generated).
run: go mod download && go vet $(go list ./... | grep -v 'grpc_service_config') > govet.txt && ! [ -s govet.txt ]
if: ${{ always() }}
- name: Check license
run: go run ./util/cmd/license
if: ${{ always() }}
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY : check-license test
.PHONY : test

image:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build github.com/googleapis/gapic-generator-go/cmd/protoc-gen-go_gapic
Expand Down
1 change: 0 additions & 1 deletion util/cmd/license/BUILD.bazel

This file was deleted.

89 changes: 0 additions & 89 deletions util/cmd/license/main.go

This file was deleted.

0 comments on commit 56ae2ca

Please sign in to comment.