File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,23 +4,23 @@ on: [push, pull_request]
44
55jobs :
66 ruby_rails_test_matrix :
7- runs-on : ubuntu-18.04
7+ runs-on : ubuntu-latest
88
99 strategy :
1010 matrix :
11- ruby : [2.4, 2.6 ]
12- rails : [4, 5, 6]
11+ ruby : [2.4, 2.7 ]
12+ rails : [5, 6]
1313 exclude :
1414 - ruby : 2.4
1515 rails : 6
1616
1717 steps :
18- - uses : actions/checkout@master
18+ - uses : actions/checkout@v2
1919
20- - name : Sets up the environment
21- uses : actions/setup-ruby@v1
20+ - uses : ruby/setup-ruby@v1
2221 with :
2322 ruby-version : ${{ matrix.ruby }}
23+ bundler-cache : true
2424
2525 - name : Runs code QA and tests
2626 env :
2929 rm -rf Gemfile.lock
3030 sudo apt-get update
3131 sudo apt-get install libsqlite3-dev
32- gem uninstall bundler -a --force
33- gem install bundler -v '~> 1'
3432 echo $RAILS_VERSION | grep -q '4' && export SQLITE3_VERSION='~> 1.3.6'
33+ echo $RAILS_VERSION | grep -q '4' && RUBOCOP_VERSION='~> 0.77'
3534 bundle
36- rake
35+ bundle exec rake
You can’t perform that action at this time.
0 commit comments