File tree Expand file tree Collapse file tree 4 files changed +77
-8
lines changed
Expand file tree Collapse file tree 4 files changed +77
-8
lines changed Original file line number Diff line number Diff line change 1+ name : macos
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : macos-latest
8+ strategy :
9+ matrix :
10+ ruby : [ '2.6.x', '2.5.x', '2.4.x' ]
11+ steps :
12+ - uses : actions/checkout@master
13+ - name : Set up Ruby
14+ uses : actions/setup-ruby@v1
15+ with :
16+ ruby-version : ${{ matrix.ruby }}
17+ - name : Set up Bundler
18+ run : gem install bundler --no-document
19+ - name : Install dependencies
20+ run : bundle install
21+ - name : Run test
22+ run : rake
Original file line number Diff line number Diff line change 1+ name : ubuntu-rvm
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ ruby : [ 'ruby-head' ]
11+ fail-fast : false
12+ steps :
13+ - uses : actions/checkout@master
14+ - name : Set up RVM
15+ run : |
16+ curl -sSL https://get.rvm.io | bash
17+ - name : Set up Ruby
18+ run : |
19+ source $HOME/.rvm/scripts/rvm
20+ rvm install ${{ matrix.ruby }} --binary
21+ rvm --default use ${{ matrix.ruby }}
22+ - name : Set up Bundler
23+ run : |
24+ source $HOME/.rvm/scripts/rvm
25+ gem install bundler --no-document
26+ - name : Install dependencies
27+ run : |
28+ source $HOME/.rvm/scripts/rvm
29+ bundle install
30+ - name : Run test
31+ run : |
32+ source $HOME/.rvm/scripts/rvm
33+ rake
Original file line number Diff line number Diff line change 1+ name : ubuntu
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ ruby : [ '2.6.x', '2.5.x', '2.4.x' ]
11+ steps :
12+ - uses : actions/checkout@master
13+ - name : Set up Ruby
14+ uses : actions/setup-ruby@v1
15+ with :
16+ ruby-version : ${{ matrix.ruby }}
17+ - name : Set up Bundler
18+ run : gem install bundler --no-document
19+ - name : Install dependencies
20+ run : bundle install
21+ - name : Run test
22+ run : rake
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments