Skip to content

Commit

Permalink
fix: release
Browse files Browse the repository at this point in the history
  • Loading branch information
SlashGordon committed Nov 17, 2023
1 parent dceb83e commit 29e9ed0
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,15 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Cache poetry installation
uses: actions/cache@v2
with:
path: ~/.local
key: poetry-${{ matrix.python-version }}-${{ matrix.poetry-version }}
python-version: ${{ matrix.python-version }}∂
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: ${{ matrix.poetry-version }}
virtualenvs-create: true
virtualenvs-in-project: true
- name: Cache dependencies
uses: actions/cache@v2
with:
path: .venv
key: pydeps-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: poetry install --no-interaction --no-root
if: steps.cache-deps.outputs.cache-hit != 'true'
run: poetry install --no-interaction
- name: Run tests
run: |
source .venv/bin/activate
Expand Down

0 comments on commit 29e9ed0

Please sign in to comment.