diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index cce15d7..4c0d100 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: test: @@ -12,33 +12,29 @@ jobs: continue-on-error: ${{ matrix.experimental }} strategy: matrix: - ruby: ['3.2'] - rails_version: ['7.1.3', '7.2.0'] - blacklight_version: ['~> 8.1'] + ruby: ["3.3"] + rails_version: ["7.1.4", "7.2.1"] + blacklight_version: ["~> 8.1"] experimental: [false] include: - - ruby: '2.7' - rails_version: '6.1.7.6' - blacklight_version: '~> 7.0' - experimental: false - - ruby: '3.1' - rails_version: '7.0.8' - blacklight_version: '~> 8.1' - experimental: false - - ruby: '3.2' - rails_version: '7.1.3' - blacklight_version: 'github' - experimental: true + - ruby: "3.1" + rails_version: "7.0.8" + blacklight_version: "~> 8.1" + experimental: false + - ruby: "3.2" + rails_version: "7.1.4" + blacklight_version: "github" + experimental: true env: RAILS_VERSION: ${{ matrix.rails_version }} BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }} steps: - - uses: actions/checkout@v2 - - name: Set up Ruby ${{ matrix.ruby }} - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - - name: Install dependencies with Rails ${{ matrix.rails_version }} - run: bundle install - - name: Run tests - run: bundle exec rake + - uses: actions/checkout@v2 + - name: Set up Ruby ${{ matrix.ruby }} + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Install dependencies with Rails ${{ matrix.rails_version }} + run: bundle install + - name: Run tests + run: bundle exec rake