diff --git a/.github/workflows/test-and-publish.yaml b/.github/workflows/test-and-publish.yaml index 74829b5d..05b30be8 100644 --- a/.github/workflows/test-and-publish.yaml +++ b/.github/workflows/test-and-publish.yaml @@ -233,6 +233,14 @@ jobs: with: python-version: ${{ matrix.python_version }} - name: Setup Poetry + if: ${{ runner.os != 'Windows' }} + uses: snok/install-poetry@v1.4.2 + with: + version: 1.8.5 + # v1.4.2's installer fails to create its venv on Windows + Python 3.8 under bash + # (snok/install-poetry#94); v1.4.1 uses the legacy installer on Windows. + - name: Setup Poetry (Windows) + if: ${{ runner.os == 'Windows' }} uses: snok/install-poetry@v1.4.1 with: version: 1.8.5