.github/workflows/ruby.yml in table_saw-2.8.1 vs .github/workflows/ruby.yml in table_saw-2.9.0
- old
+ new
@@ -8,15 +8,16 @@
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- - 2.6.x
- - 2.7.x
+ - '2.6.6'
+ - '2.7.2'
+ - '3.0.0'
activerecord:
- - 6.0.0
- - 6.1.0
+ - '6.0.0'
+ - '6.1.0'
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/activerecord_${{ matrix.activerecord }}.gemfile
services:
@@ -33,32 +34,20 @@
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
- uses: actions/setup-ruby@v1
+ uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
+ bundler-cache: true
- - uses: actions/cache@v1
- with:
- path: vendor/bundle
- key: ${{ runner.os }}-gems-${{ hashFiles(format('gemfiles/activerecord_{0}.gemfile.lock', matrix.activerecord)) }}
- restore-keys: |
- ${{ runner.os }}-gems-
-
- name: Install PostgreSQL client
run: |
sudo apt-get -yqq install libpq-dev
- - name: Configure Bundler
- run: |
- gem install bundler -v 2.1.4 --no-document
- bundle config set path 'vendor/bundle'
- bundle install --jobs 4 --retry 3
-
- name: Run tests with RSpec
- uses: paambaati/codeclimate-action@v2.5.4
+ uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: bundle exec rspec
debug: false