File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Ruby CI
2+
3+ on :
4+ push :
5+ branches : [$default-branch]
6+ pull_request :
7+ branches : [$default-branch]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ ruby-version : [2.7.x, 2.6.x, 2.5.x, 2.4.x]
17+
18+ steps :
19+ - uses : actions/checkout@v2
20+ - name : Set up Ruby ${{ matrix.ruby-version }}
21+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
22+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
23+ # uses: ruby/setup-ruby@v1
24+ uses : ruby/setup-ruby@v1
25+ with :
26+ ruby-version : ${{ matrix.ruby-version }}
27+ bundler-cache : true
28+ - name : Install dependencies
29+ run : bundle install
30+ - name : Run tests
31+ run : bundle exec rake
You can’t perform that action at this time.
0 commit comments