Skip to content

Commit cc5dd2c

Browse files
Try restore truffleruby
1 parent fc35f90 commit cc5dd2c

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,23 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
include:
17-
- docker-image: 'library/ruby:2.5'
18-
- docker-image: 'library/ruby:2.6'
19-
- docker-image: 'library/ruby:2.7'
20-
- docker-image: 'library/ruby:3.0'
21-
- docker-image: 'library/ruby:3.1'
22-
- docker-image: 'bitnami/jruby:latest'
23-
container: ${{ matrix.docker-image }}
17+
- ruby: 2.5
18+
- ruby: 2.6
19+
- ruby: 2.7
20+
- ruby: 3.0
21+
- ruby: 3.1
22+
- ruby: jruby
23+
- ruby: truffleruby
2424
steps:
2525
- uses: actions/checkout@v2
26-
- name: Install dependencies
27-
run: bundle install
28-
continue-on-error: ${{ contains(matrix.docker-image, 'jruby') }}
26+
- uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: ${{ matrix.ruby }}
29+
bundler-cache: true
30+
continue-on-error: ${{ matrix.ruby == 'jruby' }}
2931
- name: Run tests
3032
run: bundle exec rake spec
31-
continue-on-error: ${{ contains(matrix.docker-image, 'jruby') }}
33+
continue-on-error: ${{ matrix.ruby == 'jruby' }}
3234
actionmailer:
3335
runs-on: ubuntu-latest
3436
steps:

0 commit comments

Comments
 (0)