Use prek in the CI instead of individual checks #1758
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 file consistency | |
| on: [push] | |
| permissions: {} | |
| jobs: | |
| requirements-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/uv-setup/ | |
| with: | |
| dev: false | |
| - run: ./requirements/update_requirements.py | |
| - run: git diff --exit-code |