Skip to content

Commit

Permalink
Add Ruby 3.2 to CI and upgrade actions (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
petergoldstein authored Jun 13, 2023
1 parent 3913eca commit da27054
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1']
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
gemfile:
- rails_5_2
- rails_6_0
- rails_6_1
- rails_7_0
- rails_main
exclude:
- ruby: '3.2'
gemfile: rails_6_0

- ruby: '3.2'
gemfile: rails_5_2

- ruby: '3.1'
gemfile: rails_5_2

Expand All @@ -39,7 +45,7 @@ jobs:
BUNDLE_PATH_RELATIVE_TO_CWD: true

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
Expand All @@ -66,6 +72,12 @@ jobs:
- rails_7_0
- rails_main
exclude:
- ruby: '3.2'
gemfile: rails_6_0

- ruby: '3.2'
gemfile: rails_5_2

- ruby: '3.1'
gemfile: rails_5_2

Expand Down Expand Up @@ -96,7 +108,7 @@ jobs:
--health-retries=3
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
Expand All @@ -117,14 +129,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1']
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
gemfile:
- rails_5_2
- rails_6_0
- rails_6_1
- rails_7_0
- rails_main
exclude:
- ruby: '3.2'
gemfile: rails_6_0

- ruby: '3.2'
gemfile: rails_5_2

- ruby: '3.1'
gemfile: rails_5_2

Expand Down Expand Up @@ -156,7 +174,7 @@ jobs:
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
Expand Down

0 comments on commit da27054

Please sign in to comment.