remove unused log in rules #818
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: addlicense | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - "*_release" | |
| paths: | |
| - '**/*.go' | |
| jobs: | |
| addlicense: | |
| name: check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.20' | |
| check-latest: true | |
| cache: true | |
| - name: addlicense-check | |
| run: | | |
| go install github.com/google/addlicense@latest | |
| find . -type f -name "*.go" -not -path "./distribution/*" -not -path "**/generated/*" | xargs addlicense -check |