From 28ab1f9f27c757b546f107137479bfc851c02c3c Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 27 Jul 2021 16:03:02 -0400 Subject: cache $HOME/.local for faster poetry installation (#1751) --- .github/workflows/pr-review-companion.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.github/workflows') 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: -- cgit v1.2.3-54-g00ecf