File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,11 @@ jobs:
2323 uses : ruby/setup-ruby@v1
2424 with :
2525 ruby-version : ${{ matrix.ruby }}
26-
27- - name : Install gems
26+ bundler-cache : true
2827 env :
29- MATRIX_RAILS_VERSION : ${{ matrix.rails }}
30- run : |
31- export BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/rails_${MATRIX_RAILS_VERSION}.gemfile"
32- gem install bundler
33- bundle install --jobs 4 --retry 3
28+ RAILS_VERSION : ${{ matrix.rails }}
3429
3530 - name : Run tests
3631 run : bundle exec rake
32+ env :
33+ RAILS_VERSION : ${{ matrix.rails }}
Original file line number Diff line number Diff line change @@ -2,3 +2,6 @@ source "https://rubygems.org"
22
33# Specify your gem's dependencies in inertia-rails.gemspec
44gemspec
5+
6+ version = ENV [ "RAILS_VERSION" ] || "7.1"
7+ gem "rails" , "~> #{ version } .0"
You can’t perform that action at this time.
0 commit comments