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:
23
23
uses : ruby/setup-ruby@v1
24
24
with :
25
25
ruby-version : ${{ matrix.ruby }}
26
-
27
- - name : Install gems
26
+ bundler-cache : true
28
27
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 }}
34
29
35
30
- name : Run tests
36
31
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"
2
2
3
3
# Specify your gem's dependencies in inertia-rails.gemspec
4
4
gemspec
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