File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change 7
7
name : Ruby specs
8
8
runs-on : ${{ matrix.os }}
9
9
continue-on-error : ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' || matrix.experimental }}
10
- env :
11
- BUNDLE_JOBS : 4
12
- BUNDLE_RETRY : 3
13
10
strategy :
14
11
fail-fast : false
15
12
matrix :
@@ -34,25 +31,15 @@ jobs:
34
31
gemfile : gemfiles/Gemfile-rails-edge
35
32
experimental : true
36
33
34
+ env :
35
+ BUNDLE_GEMFILE : ${{ matrix.gemfile }}
37
36
steps :
38
37
- uses : actions/checkout@v2
39
- - uses : actions/cache@v2
40
- with :
41
- path : /home/runner/bundle
42
- key : bundle-use-ruby-${{ matrix.ruby }}-${{ matrix.gemfile }}-gems-${{ hashFiles(matrix.gemfile) }}-${{ hashFiles('**/*.gemspec') }}
43
- restore-keys : |
44
- bundle-use-ruby-${{ matrix.ruby }}-${{ matrix.gemfile }}-gems-
45
38
46
39
- uses : ruby/setup-ruby@v1
47
40
with :
48
41
ruby-version : ${{ matrix.ruby }}
49
-
50
- - name : Bundle install
51
- run : |
52
- gem install bundler -v 2.1.4
53
- bundle config path /home/runner/bundle
54
- bundle config --global gemfile ${{ matrix.gemfile }}
55
- bundle install --jobs 4 --retry 3
42
+ bundler-cache : true
56
43
57
44
- name : Ruby specs
58
45
run : bundle exec rake test
You can’t perform that action at this time.
0 commit comments