File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -94,25 +94,24 @@ jobs:
9494 - name : Setup Ruby cache
9595 uses : actions/cache@v2
9696 with :
97- path : " ${GITHUB_WORKSPACE}/ vendor/bundle"
98- key : ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}-${{ hashFiles('**/Gemfile.lock') }}
97+ path : vendor/bundle
98+ key : ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}-${{ matrix.adapter }}-${{ hashFiles('**/Gemfile.lock') }}
9999 restore-keys : |
100- ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}-
100+ ${{ runner.os }}-gems-${{ matrix.ruby }}-${{ matrix.rails }}-${{ matrix.adapter }}-
101101
102102 - name : Bundle
103103 env :
104104 RAILS_VERSION : ${{ matrix.rails }}
105105 DB_ADAPTER : ${{ matrix.adapter }}
106+ BUNDLE_GEMFILE : gemfiles/${{ matrix.rails }}.gemfile
106107 run : |
107- export BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/${RAILS_VERSION}.gemfile"
108108 gem install bundler
109- # bundle config path "${GITHUB_WORKSPACE}/ vendor/bundle"
109+ bundle config path vendor/bundle
110110 bundle install --jobs 4 --retry 3
111111
112112 - name : RSpec
113113 env :
114114 RAILS_VERSION : ${{ matrix.rails }}
115115 DB_ADAPTER : ${{ matrix.adapter }}
116- run : |
117- export BUNDLE_GEMFILE="${GITHUB_WORKSPACE}/gemfiles/${RAILS_VERSION}.gemfile"
118- bundle exec rake
116+ BUNDLE_GEMFILE : gemfiles/${{ matrix.rails }}.gemfile
117+ run : bin/rake
You can’t perform that action at this time.
0 commit comments