venv appears to be messing stuff up

pull/388/head
Wyatt Stanke 11 months ago
parent ec16648f9c
commit 0757d47cfb
No known key found for this signature in database
GPG Key ID: CE6BA5FFF135536D

@ -21,22 +21,14 @@ runs:
- name: Install and configure Poetry - name: Install and configure Poetry
uses: snok/install-poetry@v1 uses: snok/install-poetry@v1
with: with:
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true installer-parallel: true
- name: Load cached venv - name: Cache Poetry cache
id: cached-poetry-dependencies uses: actions/cache@v4
uses: actions/cache@v3
with: with:
path: .venv path: ~/.cache/pypoetry
key: venv-${{ runner.os }}-${{ inputs.python-version }}-${{ hashFiles('**/poetry.lock') }} key: poetry-cache-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.POETRY_VERSION }}
- name: Install dependencies - name: Cache Packages
# Dependencies appear to be dissapearing uses: actions/cache@v4
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' with:
run: poetry install --no-interaction --no-root path: ~/.local
shell: bash key: poetry-local-${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('.github/workflows/*.yml') }}
- name: Activate venv
run: |
source .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
shell: bash

Loading…
Cancel
Save