name: CI on: push: branches: - master pull_request: jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby: - '2.5' - '2.6' - '2.7' - '3.0' - ruby-head continue-on-error: ${{ matrix.ruby == 'ruby-head' }} services: memcached: image: memcached ports: - 11211:11211 redis: image: redis ports: - 6379:6379 steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: | bundle exec rake