name: ci

on: [push, pull_request]

jobs:
  tests:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest]
        ruby: [2.5, 2.6, 2.7, '3.0', '3.1', head, jruby, jruby-head, truffleruby]
    runs-on: ${{ matrix.os }}
    env:
      JRUBY_OPTS: -J-Xss16m
    steps:
      - uses: actions/checkout@v2
        with: 
          submodules: true
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
          rubygems: 3.2.3
      - run: bundle exec rake

name: ci

on: [push, pull_request, workflow_dispatch]

jobs:
  tests:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest]
        ruby: [2.5, 2.6, 2.7, '3.0', '3.1', head, jruby, jruby-head, truffleruby]
    runs-on: ${{ matrix.os }}
    env:
      JRUBY_OPTS: -J-Xss16m
    steps:
      - uses: actions/checkout@v2
        with: 
          submodules: true
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
          rubygems: 3.2.3
      - run: bundle exec rake

Allow triggering tests on workflow dispatch
Allow triggering tests on workflow dispatch
