koordetector: make koordetector run and compatible with different kernels #60
Workflow file for this run
This file contains 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: License | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
license-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
- name: Check license | |
run: | | |
gem install license_finder | |
license_finder --decisions_file .license/dependency_decisions.yml | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.17 | |
- name: Check license header | |
run: | | |
make lint-license && git add apis pkg cmd || exit 1 | |
git diff --cached --exit-code || (echo 'Please run "make lint-license" to verify license header' && exit 1); |