Skip to content

Commit

Permalink
[chore] update README.md (how to cache deps)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gr1N committed Jan 6, 2020
1 parent 82936cc commit 5d9db95
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,24 @@ steps:
- run: poetry --version
```
### Cache dependencies to speed up workflows
```yaml
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: 3.8
- uses: Gr1N/setup-poetry@v1
- uses: actions/cache@v1
with:
path: ~/.cache/pypoetry/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- run: poetry --version
```
## Contributing
Feel free to submit any PR you want, they are always welcome.
Expand Down

0 comments on commit 5d9db95

Please sign in to comment.