name: CI

on: [push, pull_request]

jobs:
  test:
    name: Run test suite
    runs-on: ubuntu-latest

    env:
      COMPOSE_FILE: docker-compose.ci.yml

    strategy:
      fail-fast: false
      matrix:
        ruby: [2.7.5, 3.0.3]

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Build docker images
        run: docker-compose build --build-arg TARGET_VERSION=${{ matrix.ruby }}

      - name: Run tests
        run: docker-compose run ci

name: CI

on: [push, pull_request]

jobs:
  test:
    name: Run test suite
    runs-on: ubuntu-latest

    env:
      COMPOSE_FILE: docker-compose.ci.yml

    strategy:
      fail-fast: false
      matrix:
        ruby: [2.7.3, 3.0.1]

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Build docker images
        run: docker-compose build --build-arg TARGET_VERSION=${{ matrix.ruby }}

      - name: Run tests
        run: docker-compose run ci

Revert "bump ruby to latest patch"
Revert "bump ruby to latest patch"

This reverts commit 495008692ccc1349e3715a59570bb949f2a04da3.
