{"id":22423336,"url":"https://github.com/prantlf/setup-v-action","last_synced_at":"2026-02-16T14:33:52.035Z","repository":{"id":174536924,"uuid":"652366664","full_name":"prantlf/setup-v-action","owner":"prantlf","description":"Setup a V environment by downloading and unpacking or building the V compiler to the PATH.","archived":false,"fork":false,"pushed_at":"2024-05-07T14:14:29.000Z","size":1135,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-11T18:09:25.938Z","etag":null,"topics":["actions","github","github-actions","setup","v","vlang"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/setup-v-vlang-build","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/prantlf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-06-11T23:08:05.000Z","updated_at":"2024-07-13T13:04:27.000Z","dependencies_parsed_at":"2024-05-07T09:27:09.990Z","dependency_job_id":"c467eb37-c3ef-4637-afb1-24a2c4d82c8c","html_url":"https://github.com/prantlf/setup-v-action","commit_stats":null,"previous_names":["prantlf/setup-v-action"],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/prantlf/setup-v-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fsetup-v-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fsetup-v-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fsetup-v-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fsetup-v-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantlf","download_url":"https://codeload.github.com/prantlf/setup-v-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fsetup-v-action/sbom","scorecard":{"id":743765,"data":{"date":"2025-08-11","repo":{"name":"github.com/prantlf/setup-v-action","commit":"e30e8ae4f6d45bfb1f2a8f6cc941fbad9bfb2ed6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","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":"Code-Review","score":0,"reason":"Found 0/30 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":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:95: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/prantlf/setup-v-action/ci.yml/master?enable=pin","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction 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":"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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"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":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-3787-6prv-h9w3","Warn: Project is vulnerable to: GHSA-9qxr-qj54-h672","Warn: Project is vulnerable to: GHSA-m4v8-wqvr-p9f7","Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975","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-22T18:11:23.294Z","repository_id":174536924,"created_at":"2025-08-22T18:11:23.294Z","updated_at":"2025-08-22T18:11:23.294Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29510206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: 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","github","github-actions","setup","v","vlang"],"created_at":"2024-12-05T18:10:18.572Z","updated_at":"2026-02-16T14:33:52.017Z","avatar_url":"https://github.com/prantlf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup V (Vlang) Build\n\n[![Latest version](https://img.shields.io/npm/v/setup-v-action) ![Dependency status](https://img.shields.io/librariesio/release/npm/setup-v-action)](https://www.npmjs.com/package/setup-v-action)\n\nGitHub action for setting up a V build environment by downloading and unpacking the V compiler or building it from sources.\n\n* Simple syntax with defaults according to the best performance and practices.\n* Convenient version specification - `master`, `weekly`, `latest`, `X.Y.Z`, `\u003ccommit hash\u003e`.\n* Downloading an unpacking pre-built binaries is preferred to building from sources.\n* An already unpacked or built version is cached to speed up the build pipeline.\n* Automatic installation of module dependencies from `v.mod`.\n* GitHub workflow token is used by default.\n\n## Usage\n\nInstall V from the most recent weekly release:\n\n```yml\n- uses: prantlf/setup-v-action@v2\n```\n\nTest against multiple versions of V using the matrix strategy:\n\n```yml\njobs:\n  test:\n    strategy:\n      matrix:\n        v-version: [\"latest\", \"weekly\", \"master\"]\n\n    steps:\n    - uses: actions/checkout@v4\n    - uses: prantlf/setup-v-action@v2\n      with:\n        version: ${{ matrix.v-version }}\n    - run: v test .\n```\n\nIf you want to install module dependencies from `v.mod` automatically, run this action after checking out the sources.\n\n## Inputs\n\nThe following parameters can be specified using the `with` object:\n\n### version\n\nType: `String`\u003cbr\u003e\nDefault: `weekly`\n\nOne of the following values is supported:\n\n* `master` - built from the most recent commit to the `master` branch\n* `weekly` - downloaded from the most recent weekly release (default)\n* `latest` - downloaded from the most recent (semantic) version release\n* `vX.Y.Z` or `X.Y.Z` - downloaded from a specific (semantic) version release\n* `\u003ccommit hash\u003e` - built from a specific commit\n\nThe default - `weekly` should work the best by using the most recent development version. V is still in rapid development and the `latest` might be too limiting. Once V becomes mature, the default will change and th elist of available values probably as well.\n\n### use-cache\n\nType: `Boolean`\u003cbr\u003e\nDefault: `true`\n\nSet to `false` to ignore the cache and always perform the full installation, either by downloading and unpacking a binary, or by downloading sources and building. The default is `true`.\n\n### force-build\n\nType: `Boolean`\u003cbr\u003e\nDefault: `false`\n\nSet to `true` to always build V from sources, even if the binary archive is available. The default is `false`.\n\n### install-dependencies\n\nType: `Boolean`\u003cbr\u003e\nDefault: `true`\n\nSet to `false` to prevent module dependencies from `v.mod` from being installed automatically. The default is `true`.\n\n### global-dependencies\n\nType: `Boolean`\u003cbr\u003e\nDefault: `true`\n\nSet to `false` to install module dependencies from `v.mod` to `./modules` instead of to `~/.vmodules`.\n\n### modules-dir\n\nType: `String`\u003cbr\u003e\nDefault: `src/modules` or `modules`\n\nSet the directory for the locally installed dependencies. It is `src/modules` if `src` exists, otherwise `modules`.\n\n### token\n\nType: `String`\u003cbr\u003e\nDefault: `${{ github.token }}`\n\nAuthorization token to inspect releases and commits in the `vlang/v` repository. Either a GitHub personal access token or the GitHub workflow token. If not provided, the environment variable `GITHUB_TOKEN` will be used as a fallback. And if even that is not set, the GitHub workflow token from the action-execution context will be used as default.\n\n## Outputs\n\nThe following parameters can be accessed by the `github` context:\n\n### version\n\nType: `String`\u003cbr\u003e\n\nThe actually installed version of V, as returned by `v -V`, for example: `V 0.3.4 692624b`.\n\n### bin-path\n\nType: `String`\u003cbr\u003e\n\nThe complete path to the directory with the V compiler.\n\n### v-bin-path\n\nType: `String`\u003cbr\u003e\n\nThe complete path to the V compiler executable.\n\n### used-cache\n\nType: `Boolean`\u003cbr\u003e\n\nA boolean value indicating if the installation succeeded from the cache.\n\n### was-built\n\nType: `Boolean`\u003cbr\u003e\n\nA boolean value indicating if the V compiler was built from sources.\n\n## License\n\nCopyright (C) 2023-2024 Ferdinand Prantl\n\nLicensed under the [MIT License].\n\n[MIT License]: http://en.wikipedia.org/wiki/MIT_License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fsetup-v-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantlf%2Fsetup-v-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fsetup-v-action/lists"}