Bump ossf/scorecard-action from 2.3.3 to 2.4.0 #5330
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: | |
pull_request: | |
push: | |
branches: [main] | |
permissions: read-all | |
jobs: | |
license: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.18' | |
- name: Install addlicense | |
run: | | |
export PATH=${PATH}:`go env GOPATH`/bin | |
go install github.com/google/addlicense@latest | |
- name: Check license | |
run: | | |
export PATH=${PATH}:`go env GOPATH`/bin | |
addlicense -check -l apache -c "Intel Corporation" -ignore numba_dpex/_version.py numba_dpex/**/*.py numba_dpex/*.py setup.py |