Skip to content

Commit

Permalink
Add Rails 6.1, 7.0, and 7.1 to build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Jan 21, 2024
1 parent 927e865 commit cfc706f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ on:
branches: [master]
pull_request:
jobs:
build:
test:
name: Test on Ruby ${{ matrix.ruby }} and Rails ${{ matrix.rails }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['3.0', '3.1', '3.2', '3.3']
rails: ['6.1.0', '7.0.0', '7.1.0']
env:
RAILS_VERSION: ${{ matrix.rails }}
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ source "https://rubygems.org"
gemspec name: "dotenv"
gemspec name: "dotenv-rails"

gem "railties", "~> #{ENV["RAILS_VERSION"] || "7.1"}"

group :guard do
gem "guard-rspec"
gem "guard-bundler"
Expand Down

0 comments on commit cfc706f

Please sign in to comment.