Skip to content

Commit 28c4ba6

Browse files
authored
ci: update Ruby version and refactor (#109)
Signed-off-by: Daijiro Fukuda <[email protected]>
1 parent 903dfe2 commit 28c4ba6

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,17 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
ruby: [ '3.2', '3.1', '3.0', '2.7' ]
13+
ruby: [ '3.4', '3.3', '3.2' ]
1414
os: [ 'ubuntu-latest', 'macOS-latest', 'windows-latest' ]
15-
# It should be removed after RubyInstaller 3.2 is available on setup-ruby
16-
exclude:
17-
- os: windows-latest
18-
ruby: 3.2
1915
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }}
2016
steps:
2117
- uses: actions/checkout@v4
2218
- uses: ruby/setup-ruby@v1
2319
with:
2420
ruby-version: ${{ matrix.ruby }}
21+
bundler-cache: true
2522
- name: unit testing
2623
env:
2724
CI: true
2825
run: |
29-
gem install bundler rake
30-
bundle install --jobs 4 --retry 3
3126
bundle exec rake test

0 commit comments

Comments
 (0)