Skip to content

chore: modernize serialization, drop pandas, harden settings, fix rac… #331

chore: modernize serialization, drop pandas, harden settings, fix rac…

chore: modernize serialization, drop pandas, harden settings, fix rac… #331

Workflow file for this run

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 ';')"