From 5c0f23e17216fc5a6a56e2dacba93d2f1470789e Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Thu, 22 Aug 2024 08:07:55 -0500 Subject: [PATCH] Remove `actions/cache` in favor of `actions/setup-python` caching --- .github/workflows/cicd.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 85a7ca60..7e8ddeba 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -78,14 +78,9 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - - name: Cache pipenv packages - uses: actions/cache@v3 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/Pipfile.lock') }} - restore-keys: | - ${{ runner.os }}-pip- + cache: 'pip' + cache-dependency-path: | + **/setup.py - name: Lint code if: ${{ matrix.python-version == 3.11 }}