Skip to content

Commit

Permalink
Fix broken CI (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuczynski authored May 24, 2023
1 parent 51961a0 commit 775895c
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: tests

on:
push:
branches: [ master ]
pull_request:
branches:
- master
branches: [ master ]

jobs:
test:
Expand All @@ -22,23 +22,18 @@ jobs:
- '3.0' # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
- 3.1
- jruby
- truffleruby-21
- truffleruby
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v3

- name: Setup ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 1

- name: Update rubygems
run: |
gem update --system --no-document

- name: Restore cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ env.BUNDLE_PATH }}
key: ruby-${{ matrix.ruby }}-gems-${{ hashFiles('config.gemspec', 'gemfiles/**') }}
Expand All @@ -59,7 +54,7 @@ jobs:

- name: Publish code coverage
if: startsWith(env.RUBY_VERSION, env.COVERAGE_RUBY_VERSION)
uses: paambaati/codeclimate-action@v2.3.0
uses: paambaati/codeclimate-action@v4.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
Expand Down

0 comments on commit 775895c

Please sign in to comment.