name: CI on: - push jobs: build: name: Ruby ${{ matrix.version }} ${{ matrix.gemfile }} runs-on: ubuntu-latest env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} strategy: matrix: version: - 2.4 - 2.5 - 2.6 - 2.7 - 3.0 gemfile: - Gemfile steps: - uses: actions/checkout@v2 - name: Set up Ruby ${{ matrix.version }} uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.version }} bundler-cache: true - name: Test run: bundle exec rake test