Skip to content

Commit

Permalink
[Github] Use hashed dependencies in docs job
Browse files Browse the repository at this point in the history
This patch forces the docs test build job to use the hashed dpendencies file
rather than the normal requirements.txt. This ensures that we get the exact
transitive closure specified rather than whatever the dependency solver feels
like it should use in the CI job.
  • Loading branch information
boomanaiden154 committed Dec 17, 2024
1 parent 7153a21 commit 8984ae0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ jobs:
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: 'llvm/docs/requirements.txt'
cache-dependency-path: 'llvm/docs/requirements-hashed.txt'
- name: Install python dependencies
run: pip install -r llvm/docs/requirements.txt
run: pip install -r llvm/docs/requirements-hashed.txt
- name: Install system dependencies
run: |
sudo apt-get update
Expand Down

0 comments on commit 8984ae0

Please sign in to comment.