From ee82a972af03d4f91f7ab7ebdcbf74fea244f71b Mon Sep 17 00:00:00 2001 From: Gus Chadney Date: Thu, 23 Jan 2025 09:23:06 +0000 Subject: [PATCH] Update lint_and_test.yaml Upgrade GH actions --- .github/workflows/lint_and_test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint_and_test.yaml b/.github/workflows/lint_and_test.yaml index 03e0e39e..ea15b0a3 100644 --- a/.github/workflows/lint_and_test.yaml +++ b/.github/workflows/lint_and_test.yaml @@ -13,13 +13,13 @@ jobs: python-version: "3.9" - run: pip install pipenv - name: Cache virtualenvs - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.local/share/virtualenvs/ key: ${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }} - run: pipenv sync --dev - name: Cache Pre-commit for format checking - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pre-commit key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}