File tree 2 files changed +19
-8
lines changed
2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : Ruby
2
2
3
- on : [push,pull_request]
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ pull_request :
4
9
5
10
jobs :
6
11
build :
7
12
runs-on : ubuntu-latest
13
+ name : Ruby ${{ matrix.ruby }}
14
+ strategy :
15
+ matrix :
16
+ ruby :
17
+ - ' 3.2.1'
18
+
8
19
steps :
9
- - uses : actions/checkout@v2
20
+ - uses : actions/checkout@v3
10
21
- name : Set up Ruby
11
22
uses : ruby/setup-ruby@v1
12
23
with :
13
- ruby-version : 3.0.1
14
- - name : Run the default task
15
- run : |
16
- gem install bundler -v 2.2.15
17
- bundle install
18
- bundle exec rake
24
+ ruby-version : ${{ matrix.ruby }}
25
+ bundler-cache : true
26
+ - name : Run tests
27
+ run : bundle exec rake
28
+
Original file line number Diff line number Diff line change 68
68
PLATFORMS
69
69
arm64-darwin-20
70
70
arm64-darwin-22
71
+ x86_64-linux
71
72
72
73
DEPENDENCIES
73
74
rake
You can’t perform that action at this time.
0 commit comments