.github/workflows/tests.yml in rambulance-2.2.0 vs .github/workflows/tests.yml in rambulance-2.3.0

- old
+ new

@@ -6,27 +6,41 @@ jobs: stable: strategy: matrix: ruby_version: + - '3.2' - '3.1' - '3.0' - '2.7' - '2.6' - '2.5' - '2.4' - '2.3' - - 'jruby-9.3.3.0' + - 'jruby-9.3' + - 'jruby-9.4' gemfile: - gemfiles/rails_70.gemfile - gemfiles/rails_61.gemfile - gemfiles/rails_60.gemfile - gemfiles/rails_52.gemfile - gemfiles/rails_51.gemfile - gemfiles/rails_50.gemfile - gemfiles/rails_42.gemfile exclude: + - ruby_version: '3.2' + gemfile: gemfiles/rails_61.gemfile + - ruby_version: '3.2' + gemfile: gemfiles/rails_60.gemfile + - ruby_version: '3.2' + gemfile: gemfiles/rails_52.gemfile + - ruby_version: '3.2' + gemfile: gemfiles/rails_51.gemfile + - ruby_version: '3.2' + gemfile: gemfiles/rails_50.gemfile + - ruby_version: '3.2' + gemfile: gemfiles/rails_42.gemfile - ruby_version: '3.1' gemfile: gemfiles/rails_60.gemfile - ruby_version: '3.1' gemfile: gemfiles/rails_52.gemfile - ruby_version: '3.1' @@ -69,55 +83,72 @@ gemfile: gemfiles/rails_70.gemfile - ruby_version: '2.3' gemfile: gemfiles/rails_61.gemfile - ruby_version: '2.3' gemfile: gemfiles/rails_60.gemfile - - ruby_version: 'jruby-9.3.3.0' + - ruby_version: 'jruby-9.3' gemfile: gemfiles/rails_70.gemfile - - ruby_version: 'jruby-9.3.3.0' + - ruby_version: 'jruby-9.3' gemfile: gemfiles/rails_51.gemfile - - ruby_version: 'jruby-9.3.3.0' + - ruby_version: 'jruby-9.3' gemfile: gemfiles/rails_50.gemfile - - ruby_version: 'jruby-9.3.3.0' + - ruby_version: 'jruby-9.3' gemfile: gemfiles/rails_42.gemfile - runs-on: ubuntu-18.04 + - ruby_version: 'jruby-9.4' + gemfile: gemfiles/rails_60.gemfile + - ruby_version: 'jruby-9.4' + gemfile: gemfiles/rails_52.gemfile + - ruby_version: 'jruby-9.4' + gemfile: gemfiles/rails_51.gemfile + - ruby_version: 'jruby-9.4' + gemfile: gemfiles/rails_50.gemfile + - ruby_version: 'jruby-9.4' + gemfile: gemfiles/rails_42.gemfile + runs-on: ubuntu-22.04 env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby_version }} bundler-cache: true - run: bundle exec rake rails_edge: - runs-on: ubuntu-18.04 + needs: + - stable + runs-on: ubuntu-22.04 env: BUNDLE_GEMFILE: gemfiles/rails_edge.gemfile steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1 + ruby-version: 3.2 bundler-cache: true - run: bundle exec rake ruby_edge: + needs: + - stable strategy: matrix: + ruby_version: + - 'ruby-head' + - 'jruby-head' gemfile: - gemfiles/rails_edge.gemfile - gemfiles/rails_70.gemfile - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 'ruby-head' + ruby-version: ${{ matrix.ruby_version }} bundler-cache: true - run: bundle exec rake || echo "Ruby edge test is done."