Skip to content

Commit a761ee5

Browse files
authored
Merge pull request #125 from projectblacklight/supported-versions
Update test matrix to supported versions
2 parents a9fe128 + 9a39bc0 commit a761ee5

File tree

1 file changed

+22
-26
lines changed

1 file changed

+22
-26
lines changed

.github/workflows/ruby.yml

+22-26
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,39 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
continue-on-error: ${{ matrix.experimental }}
1313
strategy:
1414
matrix:
15-
ruby: ['3.2']
16-
rails_version: ['7.1.3', '7.2.0']
17-
blacklight_version: ['~> 8.1']
15+
ruby: ["3.3"]
16+
rails_version: ["7.1.4", "7.2.1"]
17+
blacklight_version: ["~> 8.1"]
1818
experimental: [false]
1919
include:
20-
- ruby: '2.7'
21-
rails_version: '6.1.7.6'
22-
blacklight_version: '~> 7.0'
23-
experimental: false
24-
- ruby: '3.1'
25-
rails_version: '7.0.8'
26-
blacklight_version: '~> 8.1'
27-
experimental: false
28-
- ruby: '3.2'
29-
rails_version: '7.1.3'
30-
blacklight_version: 'github'
31-
experimental: true
20+
- ruby: "3.1"
21+
rails_version: "7.0.8"
22+
blacklight_version: "~> 8.1"
23+
experimental: false
24+
- ruby: "3.2"
25+
rails_version: "7.1.4"
26+
blacklight_version: "github"
27+
experimental: true
3228
env:
3329
RAILS_VERSION: ${{ matrix.rails_version }}
3430
BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }}
3531
steps:
36-
- uses: actions/checkout@v2
37-
- name: Set up Ruby ${{ matrix.ruby }}
38-
uses: ruby/setup-ruby@v1
39-
with:
40-
ruby-version: ${{ matrix.ruby }}
41-
- name: Install dependencies with Rails ${{ matrix.rails_version }}
42-
run: bundle install
43-
- name: Run tests
44-
run: bundle exec rake
32+
- uses: actions/checkout@v2
33+
- name: Set up Ruby ${{ matrix.ruby }}
34+
uses: ruby/setup-ruby@v1
35+
with:
36+
ruby-version: ${{ matrix.ruby }}
37+
- name: Install dependencies with Rails ${{ matrix.rails_version }}
38+
run: bundle install
39+
- name: Run tests
40+
run: bundle exec rake

0 commit comments

Comments
 (0)