From 5bdebf24b941bc506666f90c63975df65a7599ee Mon Sep 17 00:00:00 2001 From: Simon Perkins Date: Fri, 24 Jan 2025 12:21:11 +0200 Subject: [PATCH] Use github action to install poetry --- .github/workflows/ci.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c70e30..c976bd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,23 +27,13 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Cache Installations - id: cache-installs - uses: actions/cache@v4 - with: - path: ~/.local - key: install-${{ env.INSTALL_CACHE_HASH }}- - - name: Install latest setuptools, wheel, pip run: python3 -m pip install -U pip setuptools wheel - name: Install Poetry - if: steps.cache-installs.outputs.cache-hit != 'true' - run: | - curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }} - - - name: Test poetry - run: poetry --version + uses: abatilo/actions-poetry@v3 + with: + poetry-version: ${{ env.POETRY_VERSION }} - name: Checkout source uses: actions/checkout@v2