We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5264ac1 commit b636f3fCopy full SHA for b636f3f
2 files changed
.github/workflows/check-license.yaml
@@ -0,0 +1,18 @@
1
+name: Check Licenses
2
+on:
3
+ pull_request:
4
+
5
+jobs:
6
+ check-license:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Checkout Repository
10
+ uses: actions/checkout@v4
11
+ - name: Install Go
12
+ uses: actions/setup-go@v5
13
+ with:
14
+ go-version-file: 'go.mod'
15
+ - name: Install go-license
16
+ run: go install github.com/palantir/go-license@latest
17
+ - name: Check License
18
+ run: make check-license
Makefile
@@ -69,6 +69,9 @@ FILES := $(shell find . -name "*.go" -not -name "*.pb.go")
69
license:
70
@go-license --config .github/license.yml $(FILES)
71
72
+check-license:
73
+ @go-license --config .github/license.yml $(FILES) --verify
74
75
format:
76
@echo "🤖 Running formatter..."
77
@go run $(gofumpt_cmd) -l -w .
0 commit comments