{"id":28708385,"url":"https://github.com/software-mansion/setup-scarb","last_synced_at":"2026-04-02T14:46:50.448Z","repository":{"id":177629272,"uuid":"660631621","full_name":"software-mansion/setup-scarb","owner":"software-mansion","description":"Sets up Scarb in your GitHub Actions workflow.","archived":false,"fork":false,"pushed_at":"2026-03-18T09:16:46.000Z","size":6145,"stargazers_count":19,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-03-19T00:52:13.180Z","etag":null,"topics":["actions","cairo","scarb","starknet"],"latest_commit_sha":null,"homepage":"https://docs.swmansion.com/scarb/","language":"JavaScript","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/software-mansion.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":"SECURITY.md","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-06-30T12:59:00.000Z","updated_at":"2026-03-17T15:19:54.000Z","dependencies_parsed_at":"2023-12-19T16:04:27.695Z","dependency_job_id":"a1b8d94e-c3ec-43f3-912e-2432567950dc","html_url":"https://github.com/software-mansion/setup-scarb","commit_stats":null,"previous_names":["software-mansion/setup-scarb"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/software-mansion/setup-scarb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/software-mansion%2Fsetup-scarb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/software-mansion%2Fsetup-scarb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/software-mansion%2Fsetup-scarb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/software-mansion%2Fsetup-scarb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/software-mansion","download_url":"https://codeload.github.com/software-mansion/setup-scarb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/software-mansion%2Fsetup-scarb/sbom","scorecard":{"id":836242,"data":{"date":"2025-08-11","repo":{"name":"github.com/software-mansion/setup-scarb","commit":"95ba816a4383938e2338cb793773d4670011b65f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.6,"checks":[{"name":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","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":"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"Code-Review","score":7,"reason":"Found 21/27 approved changesets -- score normalized to 7","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/check-dist.yml:1","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/triage-issue.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":"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":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/software-mansion/setup-scarb/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/software-mansion/setup-scarb/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/software-mansion/setup-scarb/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/software-mansion/setup-scarb/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:119: update your workflow using https://app.stepsecurity.io/secureworkflow/software-mansion/setup-scarb/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:120: update your workflow using https://app.stepsecurity.io/secureworkflow/software-mansion/setup-scarb/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/triage-issue.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/software-mansion/setup-scarb/triage-issue.yml/main?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   2 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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4"],"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 27 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-23T19:07:58.295Z","repository_id":177629272,"created_at":"2025-08-23T19:07:58.295Z","updated_at":"2025-08-23T19:07:58.295Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31308405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"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":["actions","cairo","scarb","starknet"],"created_at":"2025-06-14T18:11:17.881Z","updated_at":"2026-04-02T14:46:50.428Z","avatar_url":"https://github.com/software-mansion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install Scarb\n\nSets up [Scarb] in your GitHub Actions workflow supporting caching out of the box.\n\n## Example workflow\n\n```yaml\nname: My workflow\non:\n  push:\n  pull_request:\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: software-mansion/setup-scarb@v1\n        with:\n          scarb-version: \"2.9.1\"\n      - run: scarb fmt --check\n      - run: scarb test\n```\n\n## Inputs\n\n- `scarb-version` - **Optional**. String, either:\n  - Stating an explicit Scarb version to use, for example `\"2.9.1\"`.\n  - Stating an explicit nightly tag to use, for example `\"nightly-2024-12-03\"`.\n  - `\"latest\"` to download latest stable version.\n  - `\"nightly\"` to download latest nightly version.\n  - Empty/not specified: the `.tool-versions` file will be read to resolve Scarb version, and in case it is not\n    present the latest stable version will be used.\n- `tool-versions` - **Optional**. String.\n  - Stating a relative or absolute path to the `.tool-versions` file.\n  - Should be used only if `scarb-version` is not specified.\n- `scarb-lock` - **Optional**. String.\n  - Stating a relative or absolute path to the `Scarb.lock` file used for caching dependencies.\n  - Empty/not specified: `Scarb.lock` in the working directory will be used.\n- `cache` - **Optional**. Boolean.\n  - Enables caching Scarb dependencies.\n  - Empty/not specified: `true`.\n- `cache-targets` - **Optional**. Boolean.\n  - If caching is enabled, cache Scarb target directories as well as dependency cache. Useful for incremental compilation.\n  - Empty/not specified: `true`.\n\n## Outputs\n\n- `scarb-prefix` - A path to where Scarb has been extracted to. The `scarb` binary will be located in the `bin`\n  subdirectory (`${{ steps.setup-scarb.outputs.scarb-prefix }}/bin`).\n- `scarb-version` - Installed Scarb version (as reported by `scarb -V`).\n\n[scarb]: https://docs.swmansion.com/scarb\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftware-mansion%2Fsetup-scarb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftware-mansion%2Fsetup-scarb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftware-mansion%2Fsetup-scarb/lists"}