Skip to content

Commit 6766bc1

Browse files
committed
Test against latest ruby
1 parent 3d395bd commit 6766bc1

File tree

2 files changed

+34
-26
lines changed

2 files changed

+34
-26
lines changed

Diff for: .github/workflows/main.yml

+33-25
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,56 @@
11
name: Main
22

33
on:
4-
- push
5-
- pull_request
4+
- push
5+
- pull_request
66

77
jobs:
88
ci:
99
strategy:
1010
fail-fast: false
1111
matrix:
1212
ruby:
13-
- '2.7.0'
14-
- '3.0'
15-
- '3.1'
16-
- '3.2'
17-
- head
18-
- truffleruby-head
13+
- "3.2"
14+
- "3.3"
15+
- head
16+
- truffleruby-head
17+
rubyopt:
18+
- ""
19+
- "--yjit"
20+
- "--enable=frozen-string-literal"
21+
include:
22+
- ruby: "2.7"
23+
rubyopt: ""
24+
- ruby: "2.7"
25+
rubyopt: "--enable=frozen-string-literal"
26+
1927
name: CI
2028
runs-on: ubuntu-latest
2129
env:
2230
CI: true
23-
RUBYOPT: "--enable=frozen-string-literal --yjit"
2431
# TESTOPTS: --verbose
2532
steps:
26-
- uses: actions/checkout@master
27-
- uses: ruby/setup-ruby@v1
28-
with:
29-
bundler-cache: true
30-
ruby-version: ${{ matrix.ruby }}
31-
- name: Test
32-
run: bundle exec rake test
33+
- uses: actions/checkout@master
34+
- uses: ruby/setup-ruby@v1
35+
with:
36+
bundler-cache: true
37+
ruby-version: ${{ matrix.ruby }}
38+
- name: Test
39+
run: bundle exec rake test
40+
env:
41+
RUBYOPT: ${{ matrix.rubyopt }}
3342

3443
check:
3544
name: Check
3645
runs-on: ubuntu-latest
3746
env:
3847
CI: true
3948
steps:
40-
- uses: actions/checkout@master
41-
- uses: ruby/setup-ruby@v1
42-
with:
43-
bundler-cache: true
44-
ruby-version: '3.2'
45-
- name: Check
46-
run: |
47-
bundle exec rake stree:check
48-
bundle exec rubocop
49+
- uses: actions/checkout@master
50+
- uses: ruby/setup-ruby@v1
51+
with:
52+
bundler-cache: true
53+
- name: Check
54+
run: |
55+
bundle exec rake stree:check
56+
bundle exec rubocop

Diff for: .ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.0
1+
3.3.6

0 commit comments

Comments
 (0)