Skip to content

Commit 59cc301

Browse files
committed
Don't support EOL Rubies.
1 parent 7e0b254 commit 59cc301

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

.github/workflows/ruby_ci.yml

+11-17
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,17 @@ on:
88

99
jobs:
1010
test:
11-
12-
runs-on: ubuntu-latest
13-
1411
strategy:
12+
fail-fast: false
1513
matrix:
16-
ruby-version: [3.0.1, 2.7.3, 2.6.7, 2.5.9]
17-
14+
os: [ubuntu-latest, macos-latest]
15+
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
16+
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', head, jruby, jruby-head, truffleruby, truffleruby-head]
17+
runs-on: ${{ matrix.os }}
1818
steps:
19-
- uses: actions/checkout@v2
20-
- name: Set up Ruby ${{ matrix.ruby-version }}
21-
uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
22-
with:
23-
ruby-version: ${{ matrix.ruby-version }}
24-
bundler-cache: true
25-
- name: Install system dependencies
26-
run: sudo apt-get install cmake make gcc libtool
27-
- name: Install gems
28-
run: bundle install
29-
- name: Run tests
30-
run: bundle exec rake spec
19+
- uses: actions/checkout@v4
20+
- uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: ${{ matrix.ruby }}
23+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
24+
- run: bundle exec rake

0 commit comments

Comments
 (0)