Skip to content

Commit

Permalink
Add Ruby 3.2 to CI matrix. Use ruby/setup-ruby to avoid issues with b…
Browse files Browse the repository at this point in the history
…undler.
  • Loading branch information
petergoldstein committed Dec 28, 2022
1 parent 03b06de commit f507c47
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
strategy:
matrix:
include:
- rails_version: ~> 7.0.0
ruby_version: 3.2
- rails_version: ~> 7.0.0
ruby_version: 3.1
- rails_version: ~> 6.1.0
Expand All @@ -25,13 +27,13 @@ jobs:
ruby_version: 2.6
- rails_version: ~> 5.1.0
ruby_version: 2.5
container: docker://ruby:${{ matrix.ruby_version }}
env:
RAILS_VERSION: ${{ matrix.rails_version }}
steps:
- uses: actions/checkout@v3
- name: Build and test
run: |
gem install bundler
bundle install --jobs 4 --retry 3
bundle exec rake
env:
RAILS_VERSION: ${{ matrix.rails_version }}
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: Test
run: bundle exec rake

0 comments on commit f507c47

Please sign in to comment.