Skip to content

Commit

Permalink
Bump CI action versions to reduce Node.js 16 actions deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mshibuya committed May 19, 2024
1 parent dba6c4b commit 86d8000
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
CI_ASSET: ${{ matrix.asset }}
JRUBY_OPTS: --debug
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -125,7 +125,7 @@ jobs:
MAKEFLAGS: make --jobs 4
BUNDLE_WITHOUT: development
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Setup application
Expand Down Expand Up @@ -172,9 +172,9 @@ jobs:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
- name: Install dependencies
run: yarn install
- name: Run check
Expand All @@ -184,18 +184,13 @@ jobs:
name: RuboCop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
- name: Cache gems
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ hashFiles('Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-${{ matrix.ruby }}-
bundler-cache: true
cache-version: gems-${{ hashFiles('Gemfile') }}
- name: Install dependencies
run: bundle install --without development --jobs=3 --retry=3 --path=vendor/bundle
- name: Run check
Expand Down

0 comments on commit 86d8000

Please sign in to comment.