Skip to content

Commit

Permalink
Add explicit cache-dependency-path
Browse files Browse the repository at this point in the history
Since FastAPI does not use a requirements.txt file, a file to generate a hash from must be provided to the action
  • Loading branch information
zanieb committed Nov 23, 2022
1 parent c981454 commit 30ec2d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Expand Up @@ -23,6 +23,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: pyproject.toml
- name: Install Dependencies
if: steps.setup-python.outputs.cache-hit != 'true'
run: pip install -e .[all,dev,doc,test]
Expand Down

0 comments on commit 30ec2d7

Please sign in to comment.