.github/workflows/actions.yml

Summary

Maintainability
Test Coverage
name: repo-checks
on:
  push:
    branches: [master]
  pull_request:
jobs:
  main:
    name: test
    runs-on: ubuntu-latest
    env:
      RAILS_ENV: test
      BUNDLE_GEMFILE: gems.rb
    strategy:
      fail-fast: false
      matrix:
        ruby:
          - "2.7"
          - "3.0"
          - "3.1"
          - "3.2"
          - "3.3"
          - jruby-9.4
          - jruby-head
    steps:
    - uses: zendesk/checkout@v2
    - uses: zendesk/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - name: gem_cache
      id: cache
      uses: zendesk/cache@v2
      with:
        path: vendor/bundle
        key: cache-${{ runner.os }}-ruby-${{ matrix.ruby }}-${{ hashFiles('Gemfile.lock') }}
    - name: install
      run: |
        bundle config path vendor/bundle
        bundle install --without benchmark development
        curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
        chmod +x ./cc-test-reporter
        ./cc-test-reporter before-build
    - name: rake ${{ matrix.ruby }}
      run: |
        bundle exec rake