--- name: codecov on: push: branches: - master jobs: codecov: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-ruby@v1 with: ruby-version: 2.7 - run: bundle update - run: bundle exec rake - uses: codecov/codecov-action@v1 with: file: coverage/.resultset.json fail_ci_if_error: true