Ubuntu 22.04 actually uses ruby 3.0 but ruby/setup-ruby currently
only supports ruby 3.1 there so this is the best we can do.
name: Ubuntu ${{ matrix.ubuntu }}, Ruby ${{ matrix.ruby }}
strategy:
matrix:
name: Ubuntu ${{ matrix.ubuntu }}, Ruby ${{ matrix.ruby }}
strategy:
matrix:
- ubuntu: [20.04]
- ruby: [2.7, 3.0]
+ ubuntu: [20.04, 22.04]
+ ruby: [2.7, 3.0, 3.1]
runs-on: ubuntu-${{ matrix.ubuntu }}
env:
RAILS_ENV: test
runs-on: ubuntu-${{ matrix.ubuntu }}
env:
RAILS_ENV: test