diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d8ced04..d1a63db 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -81,3 +81,10 @@ jobs: - name: Run Tests run: go test -v ./... + + check-license-lines: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Check License Lines + uses: kt3k/license_checker@v1.0.6 diff --git a/.licenserc.json b/.licenserc.json new file mode 100644 index 0000000..7b827d6 --- /dev/null +++ b/.licenserc.json @@ -0,0 +1,12 @@ +{ + "**/*.go": [ + "// Copyright 2024 Blindspot Software", + "// Use of this source code is governed by a BSD-style", + "// license that can be found in the LICENSE file." + ], + + "ignore": [ + "protobuf/gen/", + "vendor/" + ] +} \ No newline at end of file