diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 706a0f5..3c731f9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -20,7 +20,15 @@ jobs: python-version: "3.13.1" cache: "pip" + - name: Load cached Poetry installation + id: cached-poetry + uses: actions/cache@v4 + with: + path: ~/.local + key: poetry-0 # increment to reset cache + - name: Install and configure Poetry + if: steps.cached-poetry.outputs.cache-hit != 'true' uses: snok/install-poetry@v1 with: virtualenvs-create: false @@ -32,7 +40,7 @@ jobs: - name: Verify that poetry.lock is consistent with pyproject.toml run: | - poetry lock --check + poetry check --lock - name: Install dependencies run: |