Skip to content

Bump codecov/codecov-action from 5.4.3 to 5.5.0 #133

Bump codecov/codecov-action from 5.4.3 to 5.5.0

Bump codecov/codecov-action from 5.4.3 to 5.5.0 #133

Workflow file for this run

name: Main
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: 'CI Tests'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
ruby: [jruby, 2.7, '3.0', 3.1, 3.2, 3.3, head]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4.2.2
# Conditionally configure bundler via environment variables as advised
# * https://github.com/ruby/setup-ruby#bundle-config
- name: Set bundler environment variables
run: |
echo "BUNDLE_WITHOUT=checks" >> $GITHUB_ENV
if: matrix.ruby != 3.3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec
- uses: codecov/codecov-action@v5.5.0
with:
name: ${{ matrix.ruby }}
files: ./coverage/coverage.xml
- run: bundle exec rubocop
if: matrix.ruby == 3.3