Skip to content

Commit

Permalink
chore: update actions/cache for workflows (#6680)
Browse files Browse the repository at this point in the history
* chore: update actions/cache for workflows

* chore: add commit to actions/cache

* fix: update actions/cache with commit

* fix: correct sha
  • Loading branch information
davidmenendez authored Jan 15, 2025
1 parent 5b39280 commit 8d2f63e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: build-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -45,7 +45,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: lint-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -65,7 +65,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: lint-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -85,7 +85,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: spellcheck-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -105,7 +105,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: test-c4p-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand All @@ -130,7 +130,7 @@ jobs:
node-version: '20.x'
cache: yarn
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-example-gallery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cache: yarn

- name: Cache dependencies
uses: actions/cache@v4
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #4.2.0
with:
path: '**/node_modules'
key: check-gallery-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
Expand Down

0 comments on commit 8d2f63e

Please sign in to comment.