Skip to content

Commit

Permalink
Merge pull request #1422 from didiermichel/dev/cache_poetry_install
Browse files Browse the repository at this point in the history
add poetry caching in main workflow
  • Loading branch information
brylie authored Oct 9, 2022
2 parents 8117e74 + 65c6975 commit eea5dd3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "^3.9"
- name: Load cached Poetry installation
uses: actions/cache@v2
with:
path: ~/.local # the path depends on the OS
key: dotlocal-${{ runner.os }}-${{ hashFiles('.github/workflows/main.yml') }}
- name: Install Poetry
uses: snok/install-poetry@v1
with:
Expand Down

0 comments on commit eea5dd3

Please sign in to comment.