Skip to content

Commit 775895c

Browse files
authored
Fix broken CI (#338)
1 parent 51961a0 commit 775895c

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: tests
22

33
on:
44
push:
5+
branches: [ master ]
56
pull_request:
6-
branches:
7-
- master
7+
branches: [ master ]
88

99
jobs:
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/**') }}
@@ -59,7 +54,7 @@ jobs:
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:

0 commit comments

Comments
 (0)