name: CI

on:
  push:
  pull_request:

jobs:
  build:
    runs-on: ubuntu-20.04

    strategy:
      fail-fast: false
      matrix:
        include:
          - { ruby: 2.7.6 }
          - { ruby: 3.0.4 }
          - { ruby: 3.1.2 }
          - { ruby: head, allow-failure: true }
          - { ruby: jruby-9.3.4.0 }
          - { ruby: jruby-head, allow-failure: true }

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

    - name: Setup Ruby ${{ matrix.ruby }}
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true

    - name: Run tests
      run: bundle exec rake
      continue-on-error: ${{ matrix.allow-failure || false }}

name: CI

on:
  push:
  pull_request:

jobs:
  build:
    runs-on: ubuntu-22.04

    strategy:
      fail-fast: false
      matrix:
        include:
          - { ruby: 2.7.6 }
          - { ruby: 3.0.4 }
          - { ruby: 3.1.2 }
          - { ruby: head, allow-failure: true }
          - { ruby: jruby-9.3.4.0 }
          - { ruby: jruby-head, allow-failure: true }

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

    - name: Setup Ruby ${{ matrix.ruby }}
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true

    - name: Run tests
      run: bundle exec rake
      continue-on-error: ${{ matrix.allow-failure || false }}

Use Ubuntu 22.04 in CI
Use Ubuntu 22.04 in CI

Co-authored-by: Chris <11a0f6a8402b529f7e7f01e22f77b808537510cb@users.noreply.github.com>
