Skip to content

Commit

Permalink
Update actions/cache to V4
Browse files Browse the repository at this point in the history
Version 2 is to be eliminated on 2024-02-01
  • Loading branch information
makyen committed Dec 28, 2024
1 parent 6f06bdf commit 8083e4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.4
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ env.ACTION_CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }}
Expand Down Expand Up @@ -89,14 +89,14 @@ jobs:
with:
ruby-version: 2.7.4
- name: Cache bundle
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ env.ACTION_CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-${{ env.ACTION_CACHE_VERSION }}-
- name: Cache yarn packages
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-modules-yarn-${{ env.ACTION_CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }}
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: export PATH="~/Charcoal-SE/metasmoke/node_modules/.bin:$PATH"
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-modules-npm-${{ env.ACTION_CACHE_VERSION }}-${{ hashFiles('**/Gemfile.lock') }}
Expand Down

0 comments on commit 8083e4a

Please sign in to comment.