Migrate to bzlmod #1
Workflow file for this run
This file contains 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: Bazel & PIP | |
on: | |
push: | |
paths: | |
- 'requirements_*' | |
pull_request: | |
paths: | |
- 'requirements_*' | |
jobs: | |
bazel-pip: | |
name: Check if pip dependencies are up to date | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update requirements_lock.txt | |
run: | | |
bazel run //:requirements.update | |
- name: Check for difference | |
run: | | |
git diff --exit-code |