File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ name: Test
4
4
on :
5
5
push :
6
6
branches :
7
- - main
7
+ - main
8
8
pull_request :
9
9
branches :
10
- - main
10
+ - main
11
11
jobs :
12
12
test :
13
13
runs-on : ubuntu-latest
@@ -22,12 +22,18 @@ jobs:
22
22
with :
23
23
ruby-version : ${{ matrix.ruby-version }}
24
24
bundler-cache : true
25
+ - name : Install Bundler
26
+ run : |
27
+ if [[ "${{ matrix.ruby-version }}" == "2.6" || "${{ matrix.ruby-version }}" == "2.7" ]]; then
28
+ gem install bundler -v "~> 2.4.0"
29
+ else
30
+ gem install bundler
31
+ fi
25
32
- name : Build and run tests
26
33
env :
27
34
COVERAGE : true
28
35
TERM : xterm
29
36
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
30
37
run : |
31
- gem install bundler
32
38
bundle install --jobs 4 --retry 3
33
- bundle exec rake test
39
+ bundle exec rake test
You can’t perform that action at this time.
0 commit comments