From c29bd2cab97451a38ffbec5e47d9509556f4f33a Mon Sep 17 00:00:00 2001 From: Stefanus Kurniawan Date: Tue, 30 Aug 2022 10:26:18 +1000 Subject: [PATCH] ENHANCE: Cache GitHub Actions pip --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fd4cf60a..79467a4c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,9 +22,11 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up Python 3.7.5 - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: "3.7.5" + cache: 'pip' + cache-dependency-path: '**/requirements.txt' - name: Install tox run: | # Install tox @@ -46,9 +48,11 @@ jobs: steps: - uses: actions/checkout@v3 - name: Set up Python 3.7.5 - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: "3.7.5" + cache: 'pip' + cache-dependency-path: '**/requirements.txt' - name: Install tox run: | # Install tox