File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: tests
22
33on :
44 push :
5+ branches : [ master ]
56 pull_request :
6- branches :
7- - master
7+ branches : [ master ]
88
99jobs :
1010 test :
@@ -22,23 +22,18 @@ jobs:
2222 - ' 3.0' # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
2323 - 3.1
2424 - jruby
25- - truffleruby-21
25+ - truffleruby
2626 steps :
2727 - name : Checkout
28- uses : actions/checkout@master
28+ uses : actions/checkout@v3
2929
3030 - name : Setup ruby ${{ matrix.ruby }}
3131 uses : ruby/setup-ruby@v1
3232 with :
3333 ruby-version : ${{ matrix.ruby }}
34- bundler : 1
35-
36- - name : Update rubygems
37- run : |
38- gem update --system --no-document
3934
4035 - name : Restore cache
41- uses : actions/cache@v2
36+ uses : actions/cache@v3
4237 with :
4338 path : ${{ env.BUNDLE_PATH }}
4439 key : ruby-${{ matrix.ruby }}-gems-${{ hashFiles('config.gemspec', 'gemfiles/**') }}
5954
6055 - name : Publish code coverage
6156 if : startsWith(env.RUBY_VERSION, env.COVERAGE_RUBY_VERSION)
62- uses : paambaati/codeclimate-action@v2.3 .0
57+ uses : paambaati/codeclimate-action@v4.0 .0
6358 env :
6459 CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
6560 with :
You can’t perform that action at this time.
0 commit comments