From 65c6975c0a43aa2523e06dfc0a5490fcc06e2fcc Mon Sep 17 00:00:00 2001 From: Didier Michel Date: Thu, 6 Oct 2022 15:30:14 -0500 Subject: [PATCH] add poetry caching in main workflow --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75096626..5053ca8f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: