--- name: codecov on: push: branches: - master pull_request: branches: - master jobs: codecov: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' - run: bundle update - run: bundle exec rake - uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true