{"id":7742744,"name":"haskell-actions/setup","ecosystem":"actions","description":"Set up a specific version of GHC and Cabal and add the command-line tools to the PATH","homepage":null,"licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/haskell-actions/setup","keywords_array":[],"namespace":"haskell-actions","versions_count":98,"first_release_published_at":"2019-09-24T03:00:01.000Z","latest_release_published_at":"2026-01-16T15:41:00.000Z","latest_release_number":"v2.10.3","last_synced_at":"2026-05-20T17:02:09.029Z","created_at":"2023-05-17T08:42:56.322Z","updated_at":"2026-05-20T17:02:09.029Z","registry_url":"https://github.com/haskell-actions/setup","install_command":null,"documentation_url":null,"metadata":{"name":"Setup Haskell","description":"Set up a specific version of GHC and Cabal and add the command-line tools to the PATH","author":"GitHub","inputs":{"ghc-version":{"required":false,"description":"Version of GHC to use. If set to \"latest\", it will always get the latest stable version. If set to \"head\", it will always get the latest build of GHC.","default":"latest"},"cabal-version":{"required":false,"description":"Version of Cabal to use. If set to \"latest\", it will always get the latest stable version. If set to \"head\", it will always get the latest build of cabal.","default":"latest"},"stack-version":{"required":false,"description":"Version of Stack to use. If set to \"latest\", it will always get the latest stable version.","default":"latest"},"enable-stack":{"required":false,"description":"If specified, will setup Stack."},"stack-no-global":{"required":false,"description":"If specified, enable-stack must be set. Prevents installing GHC and Cabal globally."},"stack-setup-ghc":{"required":false,"description":"If specified, enable-stack must be set. Will run stack setup to install the specified GHC."},"cabal-update":{"required":false,"default":true,"description":"Set to `false` to prevent `cabal update` from being run."},"ghcup-release-channel":{"required":false,"description":"A release channel URL to add to ghcup via `ghcup config add-release-channel`."},"disable-matcher":{"required":false,"description":"If specified, disables match messages from GHC as GitHub CI annotations."}},"outputs":{"ghc-version":{"description":"The resolved version of ghc"},"cabal-version":{"description":"The resolved version of cabal"},"stack-version":{"description":"The resolved version of stack"},"ghc-exe":{"description":"The path of the ghc _executable_"},"cabal-exe":{"description":"The path of the cabal _executable_"},"stack-exe":{"description":"The path of the stack _executable_"},"ghc-path":{"description":"The path of the ghc executable _directory_"},"cabal-path":{"description":"The path of the cabal executable _directory_"},"stack-path":{"description":"The path of the stack executable _directory_"},"cabal-store":{"description":"The path to the cabal store"},"stack-root":{"description":"The path to the stack root (equal to the STACK_ROOT environment variable if it is set; otherwise an OS-specific default)"}},"runs":{"using":"node24","main":"dist/index.js"},"default_branch":"main","path":null},"repo_metadata":{"id":160554099,"uuid":"623796603","full_name":"haskell-actions/setup","owner":"haskell-actions","description":"Setting up GHC, cabal, stack on for Haskell-related CIs","archived":false,"fork":false,"pushed_at":"2026-01-02T15:19:20.000Z","size":798,"stargazers_count":82,"open_issues_count":21,"forks_count":18,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-01-08T05:24:26.911Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/haskell-actions.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":"2023-04-05T05:29:13.000Z","updated_at":"2026-01-02T15:19:17.000Z","dependencies_parsed_at":"2023-10-12T23:06:26.018Z","dependency_job_id":"0abcb5bb-7b5b-4bc0-82b6-5d9e16194521","html_url":"https://github.com/haskell-actions/setup","commit_stats":null,"previous_names":[],"tags_count":98,"template":false,"template_full_name":null,"purl":"pkg:github/haskell-actions/setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-actions%2Fsetup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-actions%2Fsetup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-actions%2Fsetup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-actions%2Fsetup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haskell-actions","download_url":"https://codeload.github.com/haskell-actions/setup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-actions%2Fsetup/sbom","scorecard":{"id":457313,"data":{"date":"2025-08-11","repo":{"name":"github.com/haskell-actions/setup","commit":"7909071ceec0344debcc968c6c7a96a52e8dd0d7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Maintained","score":2,"reason":"2 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/workflow.yml: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":"Code-Review","score":3,"reason":"Found 8/23 approved changesets -- score normalized to 3","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":"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/haskell-actions/setup/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/haskell-actions/setup/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/haskell-actions/setup/workflow.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/haskell-actions/setup/workflow.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:162: update your workflow using https://app.stepsecurity.io/secureworkflow/haskell-actions/setup/workflow.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:253: update your workflow using https://app.stepsecurity.io/secureworkflow/haskell-actions/setup/workflow.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:277: update your workflow using https://app.stepsecurity.io/secureworkflow/haskell-actions/setup/workflow.yml/main?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand 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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 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"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T10:03:51.454Z","repository_id":160554099,"created_at":"2025-08-19T10:03:51.454Z","updated_at":"2025-08-19T10:03:51.454Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29333324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T12:42:24.625Z","status":"ssl_error","status_checked_at":"2026-02-11T12:41:23.344Z","response_time":97,"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"},"tags":[]},"repo_metadata_updated_at":"2026-02-11T15:26:34.593Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":3,"rankings":{"downloads":null,"dependent_repos_count":18.022500396133733,"dependent_packages_count":0.0,"stargazers_count":12.147044842338774,"forks_count":16.12422753921724,"docker_downloads_count":null,"average":11.573443194422437},"purl":"pkg:githubactions/haskell-actions/setup","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/haskell-actions/setup","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/haskell-actions/setup","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/haskell-actions/setup/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-09T15:07:04.012Z","issues_count":25,"pull_requests_count":35,"avg_time_to_close_issue":2389977.6666666665,"avg_time_to_close_pull_request":1067699.7,"issues_closed_count":12,"pull_requests_closed_count":30,"pull_request_authors_count":11,"issue_authors_count":20,"avg_comments_per_issue":1.76,"avg_comments_per_pull_request":0.6857142857142857,"merged_pull_requests_count":23,"bot_issues_count":0,"bot_pull_requests_count":2,"past_year_issues_count":13,"past_year_pull_requests_count":14,"past_year_avg_time_to_close_issue":212187.625,"past_year_avg_time_to_close_pull_request":235022.5,"past_year_issues_closed_count":8,"past_year_pull_requests_closed_count":12,"past_year_pull_request_authors_count":6,"past_year_issue_authors_count":11,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":0.42857142857142855,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":1,"past_year_merged_pull_requests_count":10,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell-actions%2Fsetup/issues","maintainers":[{"login":"andreasabel","count":21,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/andreasabel"}],"active_maintainers":[{"login":"andreasabel","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/andreasabel"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/haskell-actions%2Fsetup/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/haskell-actions%2Fsetup/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/haskell-actions%2Fsetup/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/haskell-actions%2Fsetup/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/haskell-actions%2Fsetup/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/haskell-actions%2Fsetup/codemeta","maintainers":[]}