Skip to content

Commit f826dc9

Browse files
chore(deps): Update actions/cache action to v4.2.0 (#758)
1 parent 2b49de5 commit f826dc9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ jobs:
164164
echo "dir=$(python -m pip cache dir)" >> "${GITHUB_OUTPUT}"
165165
shell: bash
166166
- name: Set up pip cache
167-
uses: actions/cache@v4
167+
# yamllint disable-line rule:line-length
168+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
168169
with:
169170
path: ${{ steps.pip-cache-dir.outputs.dir }}
170171
key: >-
@@ -305,7 +306,8 @@ jobs:
305306
run: >-
306307
echo "dir=$(python -m pip cache dir)" >> "${GITHUB_OUTPUT}"
307308
- name: Set up pip cache
308-
uses: actions/cache@v4
309+
# yamllint disable-line rule:line-length
310+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
309311
with:
310312
path: ${{ steps.pip-cache-dir.outputs.dir }}
311313
key: >-

.github/workflows/reusable-tox.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,8 @@ jobs:
180180

181181
- name: Cache pre-commit.com virtualenvs
182182
if: inputs.toxenv == 'pre-commit'
183-
uses: actions/cache@v4
183+
# yamllint disable-line rule:line-length
184+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
184185
with:
185186
path: ~/.cache/pre-commit
186187
key: >-
@@ -238,7 +239,8 @@ jobs:
238239
shell: bash
239240
- name: Set up pip cache
240241
if: fromJSON(steps.py-abi.outputs.is-stable-abi)
241-
uses: actions/cache@v4
242+
# yamllint disable-line rule:line-length
243+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
242244
with:
243245
path: ${{ steps.pip-cache-dir.outputs.dir }}
244246
key: >-

0 commit comments

Comments
 (0)