diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 929805e..64b6404 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -44,6 +44,13 @@ jobs: uses: pdm-project/setup-pdm@v2 with: python-version: ${{ matrix.python-version }} + enable-pep582: false + cache: true + cache-dependency-path: | + ./pdm.lock + ./Cargo.lock + - name: Work around requests bug https://github.com/psf/requests/issues/6437 + run: pip install --force requests==2.29.0 - uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Install dependencies run: | @@ -65,6 +72,8 @@ jobs: cache-dependency-path: | ./pdm.lock ./Cargo.lock + - name: Work around requests bug https://github.com/psf/requests/issues/6437 + run: pip install --force requests==2.29.0 - uses: actions-rust-lang/setup-rust-toolchain@v1 - name: Install dependencies run: |