Skip to content

Update codecov/codecov-action action to v5 #217

Update codecov/codecov-action action to v5

Update codecov/codecov-action action to v5 #217

Workflow file for this run

---
name: codecov
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
codecov:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update
sudo apt-get install -y postgresql-14
sudo ln -s /usr/lib/postgresql/14/bin/initdb /bin/initdb
sudo ln -s /usr/lib/postgresql/14/bin/postgres /bin/postgres
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
- run: bundle update
- run: bundle exec rake
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true