File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Ruby
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ ruby-version : ['3.3.6']
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : Set up Ruby
20+ uses : ruby/setup-ruby@v1
21+ with :
22+ ruby-version : ${{ matrix.ruby-version }}
23+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
24+
25+ test :
26+ needs : build
27+ runs-on : ubuntu-latest
28+ strategy :
29+ matrix :
30+ ruby-version : ['3.3.6']
31+ steps :
32+ - uses : actions/checkout@v2
33+ - name : Set up Ruby
34+ uses : ruby/setup-ruby@v1
35+ with :
36+ ruby-version : ${{ matrix.ruby-version }}
37+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
38+ - name : Run tests
39+ run : bundle exec rake
You can’t perform that action at this time.
0 commit comments