Skip to content

Commit ddddf23

Browse files
committed
Merge branch 'maintenance/reusable-cache-python-deps'
2 parents 371bcc3 + 9d6b7ba commit ddddf23

File tree

5 files changed

+13
-122
lines changed

5 files changed

+13
-122
lines changed

.github/actions/cache-pip-deps/action.yml

Lines changed: 0 additions & 114 deletions
This file was deleted.

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ jobs:
8585
id: calc-cache-key-files
8686
uses: ./.github/actions/cache-keys
8787
- name: Set up pip cache
88-
uses: ./.github/actions/cache-pip-deps
88+
uses: re-actors/cache-python-deps@release/v1
8989
with:
90-
cache-key-for-dep-files: >-
90+
cache-key-for-dependency-files: >-
9191
${{ steps.calc-cache-key-files.outputs.cache-key-for-dep-files }}
9292
- name: Install core libraries for build
9393
run: python -Im pip install build
@@ -233,9 +233,9 @@ jobs:
233233
id: calc-cache-key-files
234234
uses: ./.github/actions/cache-keys
235235
- name: Set up pip cache
236-
uses: ./.github/actions/cache-pip-deps
236+
uses: re-actors/cache-python-deps@release/v1
237237
with:
238-
cache-key-for-dep-files: >-
238+
cache-key-for-dependency-files: >-
239239
${{ steps.calc-cache-key-files.outputs.cache-key-for-dep-files }}
240240
- name: Install dependencies
241241
uses: py-actions/py-dependency-install@v4

.github/workflows/reusable-linters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
id: calc-cache-key-files
4343
uses: ./.github/actions/cache-keys
4444
- name: Set up pip cache
45-
uses: ./.github/actions/cache-pip-deps
45+
uses: re-actors/cache-python-deps@release/v1
4646
with:
47-
cache-key-for-dep-files: >-
47+
cache-key-for-dependency-files: >-
4848
${{ steps.calc-cache-key-files.outputs.cache-key-for-dep-files }}
4949
- name: Cache pre-commit.com virtualenvs
5050
uses: actions/cache@v4

CHANGES/622.contrib.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

CHANGES/633.contrib.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
GitHub Actions CI/CD is now configured to manage caching pip-ecosystem
2+
dependencies using `re-actors/cache-python-deps`_ -- an action by
3+
:user:`webknjaz` that takes into account ABI stability and the exact
4+
version of Python runtime.
5+
6+
.. _`re-actors/cache-python-deps`:
7+
https://github.com/marketplace/actions/cache-python-deps

0 commit comments

Comments
 (0)