From 567bc8fd47c700de44cd78b6d0c3ee3c444bc520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Freitag?= Date: Fri, 19 Jul 2024 18:39:14 +0200 Subject: [PATCH] Preserve pip cache across GitHub actions --- .github/workflows/check.yml | 2 ++ .github/workflows/release.yml | 1 + .github/workflows/test.yml | 1 + 3 files changed, 4 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4bb41d6f..35bc22b0 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -24,6 +24,8 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 + with: + cache: pip - name: Install dependencies run: python -m pip install tox diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f23b40e9..687b55d0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: "3.x" + cache: pip - name: Install dependencies run: pip install --user build django setuptools twine wheel diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6cca9529..e8998841 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,6 +38,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + cache: pip - name: Install dependencies run: python -m pip install coveralls tox-gh