{"id":23613703,"url":"https://github.com/freckle/weeder-action","last_synced_at":"2026-05-06T18:01:30.450Z","repository":{"id":46071237,"uuid":"428684230","full_name":"freckle/weeder-action","owner":"freckle","description":"Run Weeder to uncover unused Haskell functions","archived":false,"fork":false,"pushed_at":"2026-05-02T08:44:50.000Z","size":2753,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-05-02T10:27:52.303Z","etag":null,"topics":["actions","ghvm-managed","haskell"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/freckle.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":".github/CODEOWNERS","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":"2021-11-16T14:18:05.000Z","updated_at":"2026-05-02T08:44:26.000Z","dependencies_parsed_at":"2024-01-09T18:26:24.545Z","dependency_job_id":"aab7d460-f886-4051-82bf-ddc3b0cb8b92","html_url":"https://github.com/freckle/weeder-action","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"d1d9352f99dba8241859c92bd092bf8031319e0e"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/freckle/weeder-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Fweeder-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Fweeder-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Fweeder-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Fweeder-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freckle","download_url":"https://codeload.github.com/freckle/weeder-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Fweeder-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32705620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["actions","ghvm-managed","haskell"],"created_at":"2024-12-27T17:18:50.267Z","updated_at":"2026-05-06T18:01:30.428Z","avatar_url":"https://github.com/freckle.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Weeder Action\n\nGitHub Action to run Weeder to find any unused functions in a Haskell project\nand annotate the Build with their locations.\n\n![Example in Diff](./example-in-diff.png)\n\n## Prerequisites\n\nSee the [Weeder README][weeder] for project requirements.\n\n[weeder]: https://github.com/ocharles/weeder#readme\n\nYou will need to run this step in the same Job as you compile your project, or\nmake the `.hie` files available some other way.\n\n## Usage\n\n```yaml\nsteps:\n  - uses: actions/checkout@v4\n  - id: stack\n    uses: freckle/stack-action@v5\n  - uses: freckle/weeder-action@v3\n    with:\n      ghc-version: ${{ steps.stack.outputs.compiler-version }}\n```\n\n\u003c!-- action-docs-inputs action=\"action.yml\" --\u003e\n\n## Inputs\n\n| name                | description                                                               | required | default              |\n| ------------------- | ------------------------------------------------------------------------- | -------- | -------------------- |\n| `ghc-version`       | \u003cp\u003eFull version of GHC your project uses, to ensure HIE compatibility\u003c/p\u003e | `true`   | `\"\"`                 |\n| `weeder-arguments`  | \u003cp\u003eArguments to pass when invoking weeder\u003c/p\u003e                             | `false`  | `--require-hs-files` |\n| `working-directory` | \u003cp\u003eChange to this directory before operating\u003c/p\u003e                          | `false`  | `.`                  |\n| `fail`              | \u003cp\u003eFail the build if unused functions found?\u003c/p\u003e                          | `false`  | `true`               |\n\n\u003c!-- action-docs-inputs action=\"action.yml\" --\u003e\n\n\u003c!-- action-docs-outputs action=\"action.yml\" --\u003e\n\n## Outputs\n\n| name  | description                                                                                                                                                     |\n| ----- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `log` | \u003cp\u003ePath to a file containing found weeds in JSON format; a list of objects with the keys \u003ccode\u003eidentifier\u003c/code\u003e, \u003ccode\u003efile\u003c/code\u003e, and \u003ccode\u003eline\u003c/code\u003e.\u003c/p\u003e |\n\n\u003c!-- action-docs-outputs action=\"action.yml\" --\u003e\n\n## Release\n\nTo trigger a release (and update the `@v{major}` tag), merge a commit to `main`\nthat follows [Conventional Commits][]. In short,\n\n- `fix:` to trigger a patch release,\n- `feat:` for minor, and\n- `feat!:` and major\n\nWe don't enforce conventional commits generally (though you are free do so),\nit's only required if you want to trigger release.\n\n[conventional commits]: https://www.conventionalcommits.org/en/v1.0.0/#summary\n\n---\n\n[LICENSE](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreckle%2Fweeder-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreckle%2Fweeder-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreckle%2Fweeder-action/lists"}