Rewrite binding constraint to use the new default values and decorator #13
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: check license headers | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
check-license-headers: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout github repo (+ download lfs dependencies) | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install click | |
- name: Check licenses header | |
run: | | |
python license_checker_and_adder.py --path=../src/ --action=check-strict | |
python license_checker_and_adder.py --path=../tests/ --action=check-strict | |
working-directory: scripts |