File tree 1 file changed +19
-7
lines changed
1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change 7
7
BUNDLE_PATH : vendor/bundle
8
8
9
9
jobs :
10
- test :
11
- name : Tests and Lint
10
+ test_baseline_ruby :
11
+ name : Tests and Lint (Ruby 2.6)
12
12
runs-on : ubuntu-22.04
13
- strategy :
14
- matrix :
15
- ruby :
16
- - ' 2.6'
17
- - ' 3.4'
18
13
steps :
19
14
- name : Checkout
20
15
uses : actions/checkout@v4
21
16
- name : Setup Ruby
22
17
uses : ruby/setup-ruby@v1
23
18
with :
19
+ ruby-version : ' 2.6'
24
20
ruby-version : ${{ matrix.ruby }}
25
21
bundler-cache : true
26
22
- name : " Tests"
27
23
run : bundle exec rspec --backtrace --fail-fast
28
24
- name : " Lint"
29
25
run : bundle exec rake standard
26
+
27
+ test_newest_ruby :
28
+ name : Tests (Ruby 3.4)
29
+ runs-on : ubuntu-22.04
30
+ steps :
31
+ - name : Checkout
32
+ uses : actions/checkout@v4
33
+ - name : Setup Ruby
34
+ uses : ruby/setup-ruby@v1
35
+ with :
36
+ ruby-version : ' 3.4.1'
37
+ bundler-cache : true
38
+ - name : " Tests" # Make the test suite hard-crash on frozen string literal violations
39
+ env :
40
+ RUBYOPT : " --enable=frozen-string-literal --debug=frozen-string-literal"
41
+ run : " bundle exec rspec --backtrace --fail-fast"
You can’t perform that action at this time.
0 commit comments