Is this close? #137
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
entry: | |
- name: 'Minimum supported' | |
ruby: '2.6' | |
gemfile: "Gemfile.min" | |
- name: 'Latest released' | |
ruby: '3.0' | |
gemfile: "Gemfile" | |
- name: 'Rails edge' | |
ruby: '3.0' | |
gemfile: "Gemfile.edge" | |
name: ${{ matrix.entry.name }} | |
env: | |
BUNDLE_GEMFILE: ${{ matrix.entry.gemfile }} | |
services: | |
memcached: | |
image: memcached | |
ports: | |
- 11211:11211 | |
steps: | |
- run: sudo apt-get -y install libsasl2-dev | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.entry.ruby }} | |
rubygems: '3.3.13' | |
bundler-cache: true | |
- run: bundle exec rake |