Skip to content

Commit

Permalink
update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kannkyo committed Dec 8, 2024
1 parent e8cf414 commit 83fb3de
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/actions/python-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,7 @@ runs:
with:
python-version: ${{ inputs.python-version }}

- name: Setup poetry environment
uses: snok/install-poetry@2bf112a0f6979928eb6b011f39700db589c5961e
with:
version: ${{ inputs.poetry-version }}
virtualenvs-create: true
virtualenvs-in-project: true
installer-parallel: true

- name: Cache dependencies
uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d
id: poetry_cache_id
with:
path: .venv
key: venv-${{ runner.os }}-${{ inputs.python-version }}-${{ inputs.poetry-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
if: steps.poetry_cache_id.outputs.cache-hit != 'true'
shell: bash
run: poetry install
- name: Make poetry environment
run: |
pip install poetry
poetry install

0 comments on commit 83fb3de

Please sign in to comment.