adding a script that calls aipcc index and parses hashes for a given … #20
Workflow file for this run
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 requirements lockfiles | |
| on: | |
| pull_request: | |
| paths: | |
| - pyproject.toml | |
| - requirements.txt | |
| - requirements-build.txt | |
| - scripts/compile_requirements.py | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: check-requirements-${{ github.head_ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0 | |
| - name: Verify lockfiles are up-to-date | |
| run: | | |
| make requirements | |
| git diff --exit-code requirements.txt requirements-build.txt \ | |
| || { echo ""; echo "Lockfiles are out of sync."; echo "Run 'make requirements' and commit the result."; exit 1; } |