Skip to content

Commit 53940ca

Browse files
committed
Add Ruby4.0 to the CI matrix
also add several tweaks to CI
1 parent 77f2673 commit 53940ca

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ jobs:
1414
test:
1515
runs-on: ubuntu-latest
1616

17-
container: ${{ matrix.ruby }}
18-
1917
strategy:
2018
fail-fast: false
2119

2220
matrix:
23-
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', 'head']
21+
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', '4.0', 'head']
2422
include:
2523
- ruby-version: 'head'
2624
allow_failures: 'true'
@@ -32,10 +30,9 @@ jobs:
3230
with:
3331
ruby-version: ${{ matrix.ruby-version }}
3432
bundler-cache: true
33+
3534
- name: Run test
36-
run: |
37-
set -xe
38-
bundle exec rake
35+
run: bundle exec rake
3936
continue-on-error: ${{ matrix.allow_failures == 'true' }}
4037

4138
- name: Coveralls
@@ -48,7 +45,7 @@ jobs:
4845
- name: Set up Ruby
4946
uses: ruby/setup-ruby@v1
5047
with:
51-
ruby-version: 3.3
48+
ruby-version: ruby
5249
bundler-cache: true
5350
- name: Run type check
5451
run: bundle exec steep check --with-expectations

0 commit comments

Comments
 (0)