diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b728c5..f08b5aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,7 @@ jobs: python-version: "3.10" - name: Configure cache + id: cache-pip uses: actions/cache@v4 with: path: ~/.cache/pip @@ -35,6 +36,7 @@ jobs: restore-keys: ${{ runner.os }}-pip - name: Install dependencies + if: steps.cache-pip.outputs.cache-hit != 'true' run: python -m pip install black flake8 isort - name: Lint code @@ -67,16 +69,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Cache Poetry - id: cache-poetry - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip - restore-keys: ${{ runner.os }}-pip - - name: Install Poetry - if: steps.cache-poetry.outputs.cache-hit != 'true' uses: snok/install-poetry@v1 with: virtualenvs-create: true