Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,26 @@ jobs:
with:
python-version: 3.11

- name: Get pipx variables
id: pipx_vars
shell: bash
run: |
echo "version=$(pipx --version)" >> $GITHUB_OUTPUT
echo "bin_dir=$(pipx environment -v PIPX_BIN_DIR)" >> $GITHUB_OUTPUT
echo "local_venvs=$(pipx environment -v PIPX_LOCAL_VENVS)" >> $GITHUB_OUTPUT

- name: Cache Poetry
id: cache_poetry
uses: actions/[email protected]
with:
path: |
${{ steps.pipx_vars.outputs.bin_dir }}/poetry*
${{ steps.pipx_vars.outputs.local_venvs }}/poetry
key: pipx-${{ steps.pipx_vars.outputs.version }}-poetry-${{ runner.os }}

- name: Setup Poetry
uses: abatilo/[email protected]
if: steps.cache_poetry.outputs.cache-hit != 'true'
run: pipx install poetry

- name: Install deps
run: poetry install --with dev
Expand Down