refactor reclaim #33
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: Licenses Lint | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| pull_request: | |
| jobs: | |
| licenses-lint: | |
| name: Licenses Lint | |
| timeout-minutes: 40 | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.24.x | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: generate license mirror | |
| run: | | |
| make licenses-check | |
| - name: lint-licenses | |
| # if restricted > 0, CI will report an error. | |
| run: | | |
| make lint-licenses |