Skip to content

Commit

Permalink
Add Rails to the matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstegman committed Jan 4, 2024
1 parent 056db31 commit 3487a4e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ jobs:
parameters:
ruby-version:
type: string
rails-version:
type: string

executor:
name: ruby/default
tag: <<parameters.ruby-version>>
environment:
RAILS_VERSION: <<parameters.rails-version>>
steps:
- checkout
- ruby/install-deps:
Expand All @@ -34,3 +38,7 @@ workflows:
- "3.2.2"
- "3.1.4"
- "3.0.6"
rails-version:
- "~> 7.1.0"
- "~> 7.0.0"
- "~> 6.1.0"
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
source 'https://rubygems.org'

gemspec

# Lock Rails down in the matrix build, but not by default
gem "activesupport", ENV.fetch("RAILS_VERSION", nil)
gem "activerecord", ENV.fetch("RAILS_VERSION", nil)
gem "railties", ENV.fetch("RAILS_VERSION", nil)

0 comments on commit 3487a4e

Please sign in to comment.