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
44on :
55 push :
66 branches :
7- - main
7+ - main
88 pull_request :
99 branches :
10- - main
10+ - main
1111jobs :
1212 test :
1313 runs-on : ubuntu-latest
@@ -22,12 +22,18 @@ jobs:
2222 with :
2323 ruby-version : ${{ matrix.ruby-version }}
2424 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
2532 - name : Build and run tests
2633 env :
2734 COVERAGE : true
2835 TERM : xterm
2936 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
3037 run : |
31- gem install bundler
3238 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