From adbe23fe7aac3a0f8b55b3135d266a531ec0bcc4 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Mon, 18 Jan 2021 13:34:25 -0500 Subject: [PATCH] Add a note about pip version on GitHub Actions --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3f32c919..8ccf07aba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,11 @@ jobs: with: python-version: ${{ matrix.python-version }} + # We need "pip cache dir", which became a thing in pip v20.1+. + # At the time of writing this, GitHub Actions offers pip v20.3.3 + # for both ubuntu-latest and windows-latest, and pip v20.3.1 for + # macos-latest. Those are sufficiently recent pip versions that + # have "cache dir" sub-command. - name: Get pip cache directory id: pip-cache run: |