name: Test on: [ workflow_dispatch, push ] jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby: [3.0, 3.1, 3.2] rails: ['~> 6.0', '~> 6.1', '~> 7.0'] env: RAILS_VERSION: ${{ matrix.rails }} steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: bundle exec rspec