Skip to content

Commit

Permalink
reenable cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklambourne committed Feb 14, 2024
1 parent d042ca7 commit 36dd789
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set Up Python Environment
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install Poetry
uses: snok/install-poetry@v1
Expand All @@ -21,15 +21,15 @@ jobs:
virtualenvs-create: true
virtualenvs-in-project: true

# - name: Load Cached venv
# id: cached-poetry-dependencies
# uses: actions/cache@v4
# with:
# path: .venv
# key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Load Cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install Dependencies
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run:
poetry install --no-interaction --no-root --only dev

Expand Down

0 comments on commit 36dd789

Please sign in to comment.