name: Ruby on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] ruby: - '2.4' - '2.5' - '2.6' - '2.7' - '3.0' - '3.1' - jruby-9.2.21.0 - jruby-9.3.6.0 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run tests run: bundle exec rake