gittuf/.github/workflows/coverage.yml
dependabot[bot] 2ba3759186
chore(deps): bump coverallsapp/github-action in the all group
Bumps the all group with 1 update: [coverallsapp/github-action](https://github.com/coverallsapp/github-action).


Updates `coverallsapp/github-action` from 2.3.7 to 2.3.8
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](5cbfd81b66...8d6379e14d)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-version: 2.3.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 21:43:37 +00:00

33 lines
924 B
YAML

name: coverage
on:
push:
branches: ['main']
paths-ignore:
- "docs/**"
- "**.md"
pull_request:
paths-ignore:
- "docs/**"
- "**.md"
permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
with:
persist-credentials: false
- name: Install Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e
with:
go-version: 1.26
cache: true
- name: Check Coverage
run: |
go test -covermode=atomic -coverprofile='unfiltered_coverage.cov' `go list ./... | grep -v -f .test_ignore.txt`
grep -v -f .test_ignore.txt unfiltered_coverage.cov > coverage.cov
- name: Coveralls Parallel
uses: coverallsapp/github-action@8d6379e14d29928660c4ba802d8e85393440b329
with:
file: 'coverage.cov'