.github/workflows/ruby.yml in conifer-1.1.0 vs .github/workflows/ruby.yml in conifer-1.2.0
- old
+ new
@@ -5,22 +5,28 @@
jobs:
build:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ruby:
+ - 2.6.x
+ - 2.7.x
+
steps:
- uses: actions/checkout@v2
- - name: Set up Ruby 2.6
+ - name: Set up Ruby
uses: actions/setup-ruby@v1
with:
- ruby-version: 2.6.x
+ ruby-version: ${{ matrix.ruby }}
- name: Configure Bundler
run: |
gem install bundler -v 1.17.3 --no-document
bundle install --jobs 4 --retry 3
- name: Run tests with RSpec
uses: paambaati/codeclimate-action@v2.5.3
env:
- CC_TEST_REPORTER_ID: 0e4e712966b3d2fdf63128dc4d0c863fd4c61888b557ffb1673111b4c8b3bdc9
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: bundle exec rspec
debug: false