Skip to content

Commit

Permalink
Remove deprecated commands from ci actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Oct 18, 2022
1 parent 1deeaa2 commit 71800a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Get full Python version
id: full-python-version
run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")

- name: Install poetry (${{ env.POETRY_VERSION }}) binary on runner
run: |
curl -sL https://install.python-poetry.org | python - --version ${{ env.POETRY_VERSION }}
Expand All @@ -80,7 +76,7 @@ jobs:
id: cache
with:
path: .venv
key: venv-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
key: venv-${{ matrix.python-version }}

- name: Ensure cache is healthy
if: steps.cache.outputs.cache-hit == 'true'
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

# to keep poetry setup as generic as possible
- name: Get full Python version
id: full-python-version
run: echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")

- name: Install poetry (${{ env.POETRY_VERSION }}) binary on runner
run: |
curl -sL https://install.python-poetry.org | python - --version ${{ env.POETRY_VERSION }}
Expand All @@ -47,7 +42,7 @@ jobs:
id: cache
with:
path: .venv
key: venv-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
key: venv-${{ matrix.python-version }}

- name: Ensure cache is healthy
if: steps.cache.outputs.cache-hit == 'true'
Expand Down

0 comments on commit 71800a2

Please sign in to comment.