Skip to content

Commit 19b3d91

Browse files
authored
Merge pull request #98 from nairuby/JudahSan-patch-1
fix(ci): update actions/cache to v4 to resolve deprecation warning
2 parents 540f2e0 + 15f4b74 commit 19b3d91

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ jobs:
55
name: RuboCop Linter
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
9-
- name: Setup Ruby 3.0.2
8+
- uses: actions/checkout@v4
9+
- name: Setup Ruby 3.4.1
1010
uses: ruby/setup-ruby@v1
1111
with:
12-
ruby-version: '3.0.2' # Not needed with a .ruby-version file
12+
ruby-version: '3.4.1' # Not needed with a .ruby-version file
1313
bundler-cache: true
1414

1515
- run: bundle exec rubocop
@@ -29,19 +29,21 @@ jobs:
2929
3030
steps:
3131
- uses: actions/checkout@v3
32-
- name: Setup Ruby 3.0.2
32+
- name: Setup Ruby 3.4.1
3333
uses: ruby/setup-ruby@v1
3434
with:
35-
ruby-version: '3.0.2' # Not needed with a .ruby-version file
35+
ruby-version: '3.4.1' # Not needed with a .ruby-version file
3636
bundler-cache: true
3737

3838
- name: Setup Node
3939
uses: actions/setup-node@v1
4040
with:
41-
node-version: 16.13.1
41+
node-version: '18'
42+
4243
- name: Find yarn cache location
4344
id: yarn-cache
4445
run: echo "::set-output name=dir::$(yarn cache dir)"
46+
4547
- name: JS package cache
4648
uses: actions/cache@v1
4749
with:

0 commit comments

Comments
 (0)