Bump codecov/codecov-action from 4 to 5 #137
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
name: Ruby ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
ruby: | |
- '3.3' | |
- '3.2' | |
- '3.1' | |
- '3.0' | |
env: | |
BUNDLE_WITH: 'development_common development_test' | |
BUNDLE_WITHOUT: 'development_lint development_local' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run RSec | |
run: bundle exec rake coverage | |
- name: Upload coverage report | |
uses: codecov/codecov-action@v5 | |
with: | |
name: ${{ matrix.ruby }} | |
file: ./coverage/coverage.xml | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |