Bump easy-thumbnails from 2.10 to 2.10.1 #1528
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: Check deps | |
on: | |
pull_request: | |
paths: | |
- setup.py | |
- requirements.txt | |
- ../../requirements-dev.txt | |
- docs/requirements.txt | |
- .github/workflows/dependencies.yml | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
jobs: | |
quality: | |
name: Checking dependency graph | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ['ubuntu-latest'] | |
python-version: ['3.10'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: astral-sh/setup-uv@v6 | |
with: | |
version: "latest" | |
python-version: ${{ matrix.python-version }} | |
- name: Check dependency graph | |
run: | | |
uv pip compile setup.py -o requirements.txt | |
uv pip compile requirements-dev.in -o requirements-dev.txt | |
cd docs/ && uv pip compile requirements.in -o requirements.txt | |
- name: Verify dependency graph is ok | |
uses: tj-actions/verify-changed-files@v20 | |
id: verify-changed-files | |
with: | |
files: | | |
requirements.txt | |
requirements-dev.txt | |
docs/requirements.txt | |
- name: Validating graph | |
if: steps.verify-changed-files.outputs.files_changed == 'true' | |
run: | | |
echo "Dependency file(s) changed: ${{ steps.verify-changed-files.outputs.changed_files }}" | |
git diff | |
core.setFailed('Please add your new dependencies in setup.py and/or requirements-dev.in then run pip-compile to add them in requirements. (see docs/contribute/development)') |