diff options
author | Peter Bengtsson <mail@peterbe.com> | 2021-07-27 16:03:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 16:03:02 -0400 |
commit | 28ab1f9f27c757b546f107137479bfc851c02c3c (patch) | |
tree | f54c04772b8ed1daf7bb6565433a26cfb26ae162 | |
parent | bb22e9dddf7179a809408ad53e5a49488eedf3f1 (diff) | |
download | translated-content-28ab1f9f27c757b546f107137479bfc851c02c3c.tar.gz translated-content-28ab1f9f27c757b546f107137479bfc851c02c3c.tar.bz2 translated-content-28ab1f9f27c757b546f107137479bfc851c02c3c.zip |
cache $HOME/.local for faster poetry installation (#1751)
-rw-r--r-- | .github/workflows/pr-review-companion.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/pr-review-companion.yml b/.github/workflows/pr-review-companion.yml index aaf799d499..2769dad66f 100644 --- a/.github/workflows/pr-review-companion.yml +++ b/.github/workflows/pr-review-companion.yml @@ -71,6 +71,13 @@ jobs: with: python-version: "3.8" + # See https://www.peterbe.com/plog/install-python-poetry-github-actions-faster + - name: Load cached ~/.local + uses: actions/cache@v2.1.6 + with: + path: ~/.local + key: dotlocal-${{ runner.os }}-${{ hashFiles('.github/workflows/pr-review-companion.yml') }} + - name: Install Python poetry uses: snok/install-poetry@v1.1.6 with: |