chore: modernize serialization, drop pandas, harden settings, fix rac… #331
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: License Check | |
| on: | |
| push: | |
| jobs: | |
| license-check: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: install dependencies | |
| run: uv sync --frozen | |
| - name: check licenses | |
| # Allow-list lives in license-whitelist-python.txt (one license per line, | |
| # # comments / blank lines ignored). --partial-match: many modern packages | |
| # report SPDX expressions such as "Apache-2.0 OR BSD-3-Clause" or | |
| # "BSD-3-Clause AND 0BSD AND MIT ...". Exact matching rejects those even when | |
| # every component is permissive, so match an allowed license as a substring. | |
| run: > | |
| uv run pip-licenses | |
| --with-system | |
| --partial-match | |
| --allow-only="$(grep -v '^[[:space:]]*#' license-whitelist-python.txt | grep -v '^[[:space:]]*$' | paste -sd ';')" |