{"id":46897353,"url":"https://github.com/ecliptical/covdir-report-action","last_synced_at":"2026-03-10T23:33:47.373Z","repository":{"id":65159619,"uuid":"565001561","full_name":"ecliptical/covdir-report-action","owner":"ecliptical","description":"GitHub Action for generating simple code coverage reports from grcov-generated covdir files.","archived":false,"fork":false,"pushed_at":"2026-02-23T05:34:08.000Z","size":219,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-23T22:01:29.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecliptical.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-12T03:06:37.000Z","updated_at":"2026-02-23T05:34:05.000Z","dependencies_parsed_at":"2024-03-06T05:24:03.308Z","dependency_job_id":"47d5857b-7286-4a0b-b6a1-a95e08ac73fa","html_url":"https://github.com/ecliptical/covdir-report-action","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":0.4411764705882353,"last_synced_commit":"4c51bc006f2f4e645af5fe3f0689e8a06020ab73"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/ecliptical/covdir-report-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecliptical%2Fcovdir-report-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecliptical%2Fcovdir-report-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecliptical%2Fcovdir-report-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecliptical%2Fcovdir-report-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecliptical","download_url":"https://codeload.github.com/ecliptical/covdir-report-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecliptical%2Fcovdir-report-action/sbom","scorecard":{"id":365433,"data":{"date":"2025-08-11","repo":{"name":"github.com/ecliptical/covdir-report-action","commit":"7262bcf6396238d3778fff27d1d24bf00b2e5245"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Maintained","score":5,"reason":"6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/docker.yaml:20","Warn: no topLevel permission defined: .github/workflows/docker.yaml:1","Warn: no topLevel permission defined: .github/workflows/rust-ci.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker.yaml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/docker.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yaml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/docker.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yaml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/docker.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yaml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/docker.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yaml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/rust-ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yaml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/rust-ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yaml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/rust-ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yaml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/rust-ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yaml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/rust-ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yaml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/rust-ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/rust-ci.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/rust-ci.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/rust-ci.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/rust-ci.yaml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/ecliptical/covdir-report-action/rust-ci.yaml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   8 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/docker.yaml:16"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T11:45:30.707Z","repository_id":65159619,"created_at":"2025-08-18T11:45:30.707Z","updated_at":"2025-08-18T11:45:30.707Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30362120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-10T23:33:47.155Z","updated_at":"2026-03-10T23:33:47.365Z","avatar_url":"https://github.com/ecliptical.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Covdir Report Action\n\nA [GitHub Action](https://docs.github.com/en/actions) for generating simple code coverage reports from [grcov-generated covdir files](https://github.com/mozilla/grcov#alternative-reports).\n\nThis action downloads [grcov](https://github.com/mozilla/grcov) automatically and uses your project's LLVM tools (from `rustup component add llvm-tools`) to process coverage data.\n\n## Quick Start\n\nThe simplest way to use this action is with the bundled grcov (enabled by default):\n\n```yaml\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\nname: Rust Coverage\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v6\n      - uses: dtolnay/rust-toolchain@stable\n        with:\n          components: llvm-tools\n      - name: Test\n        run: cargo test\n        env:\n          RUSTFLAGS: '-Cinstrument-coverage'\n          LLVM_PROFILE_FILE: 'target/coverage/%p-%m.profraw'\n      - name: Generate coverage report\n        uses: ecliptical/covdir-report-action@v0.3\n        with:\n          summary: 'true'\n```\n\n## Usage with Pre-generated covdir.json\n\nIf you prefer to run grcov yourself (for more control over its options), you can disable the built-in grcov integration and pass a pre-generated covdir.json file:\n\n```yaml\n- uses: ecliptical/covdir-report-action@v0.3\n  with:\n    skip_grcov: 'true'\n    file: ./target/covdir.json\n    summary: 'true'\n```\n\n## Inputs\n\n### Report Inputs\n\n| ID | Description | Required | Default |\n| --- | --- | --- | --- |\n| file | Path to covdir.json file | no | `./target/covdir.json` |\n| summary | Write report to step summary if `true` | no | `false` |\n| out | Write report to the given file | no | |\n| title | Report title | no | `Line coverage` |\n\n### Bundled grcov Inputs\n\nThese inputs control the bundled grcov, which is enabled by default.\n\n| ID | Description | Required | Default |\n| --- | --- | --- | --- |\n| skip_grcov | Skip bundled grcov and use a pre-generated covdir.json file | no | `false` |\n| coverage_path | Path to coverage data | no | `./target/coverage` |\n| source_dir | Source directory for grcov (`-s` flag) | no | `.` |\n| binary_path | Binary path for grcov (`--binary-path` flag) | no | `./target/debug` |\n| keep_only | Keep only files matching pattern (`--keep-only` flag) | no | `src/**` |\n| excl_start | Exclude start pattern (`--excl-start` flag) | no | `^mod\\s+tests?\\s*\\{$` |\n| branch | Include branch coverage (`--branch` flag) | no | `true` |\n| grcov_args | Additional arguments to pass to grcov | no | |\n| version | Version of the action binaries to use | no | `0.3.0` |\n| grcov_version | Version of grcov to use | no | `0.10.5` |\n\n## Outputs\n\n| ID | Description |\n| --- | --- |\n| lines_covered | Number of lines covered |\n| lines_missed | Number of lines missed |\n| lines_total | Total number of lines |\n| coverage_percent | Percentage of lines covered |\n\n## Example\n\nAn example workflow that runs unit tests with coverage, generates a simple markdown report, outputs it as the job summary and posts it as a PR comment:\n\n```yaml\non:\n  pull_request:\n  push:\n    branches:\n      - main\n\nname: Rust Coverage\n\njobs:\n  coverage:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Check out the source code\n        uses: actions/checkout@v6\n      - name: Install Rust\n        uses: dtolnay/rust-toolchain@stable\n        with:\n          components: llvm-tools\n      - name: Run unit tests\n        run: cargo test\n        env:\n          RUSTFLAGS: '-Cinstrument-coverage'\n          LLVM_PROFILE_FILE: 'target/coverage/%p-%m.profraw'\n      - name: Generate coverage report\n        uses: ecliptical/covdir-report-action@v0.3\n        with:\n          summary: 'true'\n          out: ./target/coverage.md\n      - name: Add coverage comment to the pull request\n        uses: marocchino/sticky-pull-request-comment@v2\n        if: github.event_name == 'pull_request'\n        with:\n          hide_and_recreate: true\n          hide_classify: \"OUTDATED\"\n          path: ./target/coverage.md\n```\n\n## Third-Party Software\n\nThis action downloads and uses [grcov](https://github.com/mozilla/grcov), a code coverage tool by Mozilla, which is licensed under the [Mozilla Public License 2.0 (MPL-2.0)](https://github.com/mozilla/grcov/blob/master/LICENSE-MPL-2.0). The grcov source code is available at https://github.com/mozilla/grcov.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecliptical%2Fcovdir-report-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecliptical%2Fcovdir-report-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecliptical%2Fcovdir-report-action/lists"}