{"id":20502724,"url":"https://github.com/vlang/setup-v","last_synced_at":"2025-10-08T03:24:00.688Z","repository":{"id":43846180,"uuid":"459475779","full_name":"vlang/setup-v","owner":"vlang","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-07T10:54:35.000Z","size":2545,"stargazers_count":29,"open_issues_count":4,"forks_count":1,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-08-16T01:10:15.673Z","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/vlang.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}},"created_at":"2022-02-15T07:38:47.000Z","updated_at":"2025-03-11T21:53:57.000Z","dependencies_parsed_at":"2024-02-07T11:53:31.120Z","dependency_job_id":"5ba9a5f1-4cff-4b6a-a3e6-70282a3cf671","html_url":"https://github.com/vlang/setup-v","commit_stats":{"total_commits":44,"total_committers":3,"mean_commits":"14.666666666666666","dds":"0.045454545454545414","last_synced_commit":"6da37c8253c5fc4c3f5aeb8aecb055da60256c73"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/vlang/setup-v","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlang%2Fsetup-v","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlang%2Fsetup-v/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlang%2Fsetup-v/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlang%2Fsetup-v/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vlang","download_url":"https://codeload.github.com/vlang/setup-v/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vlang%2Fsetup-v/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271631023,"owners_count":24793410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-15T19:27:14.748Z","updated_at":"2025-10-08T03:23:55.650Z","avatar_url":"https://github.com/vlang.png","language":"TypeScript","funding_links":[],"categories":["Other"],"sub_categories":["GitHub Actions"],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eSetup V\u003c/h1\u003e\n\n[vlang.io](https://vlang.io) |\n[Contributing](https://github.com/vlang/setup-v/blob/main/CONTRIBUTING.md)\n\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n\n[![CI][workflowbadge]][workflowurl]\n[![License: MIT][licensebadge]][licenseurl]\n\n\u003c/div\u003e\n\nGitHub Action that allows you to setup a V environment.\n\n## Usage\n\n```yaml\n- uses: vlang/setup-v@v1.4\n  with:\n    # Personal access token (PAT) used to fetch the repository. The PAT is configured\n    # with the local git config, which enables your scripts to run authenticated git\n    # commands. The post-job step removes the PAT.\n    #\n    # We recommend using a service account with the least permissions necessary.\n    # Also when generating a new PAT, select the least scopes necessary.\n    #\n    # [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)\n    #\n    # Default: ${{ github.token }}\n    token: ''\n\n    # Version to use. It can be the branch, tag or SHA to checkout from the V repository.\n    # Examples: 0.2.4, weekly.2022.07\n    version: ''\n\n    # File containing the version to use. It can contain the branch, tag or SHA to checkout from the V repository\n    # Examples: .v-version\n    version-file: ''\n\n    # Set this option if you want the action to check for the latest available version of V.\n    # If `stable` is false, it will check for the latest commit from the default branch.\n    check-latest: false\n\n    # Set this option if you want the action to use the stable version of V.\n    # Will be ignored if `check-latest` is false.\n    stable: false\n\n    # Target architecture for V to use. Examples: linux, macos, windows. Will use system architecture by default.\n    architecture: ''\n```\n\n## Output\n\nThis action will output the following variables:\n\n- `bin-path`: Path to the directory that contains the V binary.\n- `v-bin-path`: Path to the V binary.\n- `version`: Version of V that was used.\n- `architecture`: Architecture that was used to install V.\n\n## Contributors\n\n\u003ca href=\"https://github.com/vlang/setup-v/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=vlang/setup-v\"/\u003e\n\u003c/a\u003e\n\nMade with [contributors-img](https://contrib.rocks).\n\n[workflowbadge]: https://github.com/vlang/setup-v/actions/workflows/ci.yml/badge.svg\n[licensebadge]: https://img.shields.io/badge/License-MIT-blue.svg\n[workflowurl]: https://github.com/vlang/setup-v/actions/workflows/ci.yml\n[licenseurl]: https://github.com/vlang/setup-v/blob/main/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlang%2Fsetup-v","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvlang%2Fsetup-v","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvlang%2Fsetup-v/lists"}