• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

c-ares / c-ares / 28722167632
90%

Build:
DEFAULT BRANCH: main
Ran 04 Jul 2026 10:52PM UTC
Jobs 1
Files 176
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Jul 2026 10:49PM UTC coverage: 89.861% (+0.002%) from 89.859%
28722167632

push

github

web-flow
ci: restrict push builds to main/release branches; drop actions/checkout on CentOS 7 (#1198)

Addresses the two observations from the first Dependabot run (#1196).

## 1. Restrict `push:` builds to `main` + release branches

The build/test/lint workflows triggered on `push:` for **every** branch.
Since c-ares develops in forks/PRs (not in-repo branches), those
per-branch push runs were redundant — `pull_request` already covers
development. Each affected workflow's `push:` now filters to:

```yaml
  push:
    branches:
      - main
      - 'v*'
```

- **`package.yml`** additionally keeps `tags: ['v*']` so release builds
still fire on version tags.
- **Unchanged:** `sonarcloud` (already `main`-only), `coverity`
(`coverity_scan`), and the non-`push` workflows (`clang-format`,
`all-checks`, `dependabot-automerge`, `backport`).

## 2. Drop `actions/checkout` on CentOS 7

CentOS 7 runs its steps inside a `centos:7` container, so
`actions/checkout` executes in that ancient-glibc environment. Current
checkout versions need Node 20/24 (newer glibc than CentOS 7 has), and
the last compatible version (v1) is EOL — so Dependabot couldn't bump
it, and a grouped bump would have broken the job.

Replaced with a direct `git` checkout (git is already installed in the
container). It fetches by `GITHUB_REF` so it works for both branch
pushes and PR merge refs (CentOS 7's git is too old to fetch a bare
commit SHA), and uses `--depth=1` to match the prior shallow behavior.
This removes the checkout action dependency from that workflow entirely,
so Dependabot no longer has to reconcile it.

All workflow YAML validated.

Signed-off-by: Brad House <brad@brad-house.com>

24045 of 26758 relevant lines covered (89.86%)

15822.33 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
68.52
-0.11% src/lib/record/ares_dns_mapping.c
Jobs
ID Job ID Ran Files Coverage
1 28722167632.1 04 Jul 2026 10:52PM UTC 176
89.86
GitHub Action Run
Source Files on build 28722167632
  • Tree
  • List 176
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28722167632
  • 927f22ad on github
  • Prev Build on main (#28722020255)
  • Next Build on main (#28738921566)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc