name: Ruby on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: - '2.6' - '2.7' - '3.0' - '3.1' steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run tests with RSpec uses: paambaati/codeclimate-action@v2.7.5 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: coverageCommand: bundle exec rspec debug: false