vlang/Setup Vlang

Setup a Vlang environment downloading V and adding it to the PATH

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenPersonal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [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) ${{ github.token }}
versionVersion to use. It can be the branch, tag or SHA to checkout from the V repository. Examples: 0.4.4, weekly.2024.06
version-fileFile containing the version to use. It can contain the branch, tag or SHA to checkout from the V repository. Examples: .v-version
check-latestSet this option if you want the action to check for the latest available version of V. If `stable` is false, it will check for the latest commit from the default branch.false
stableSet this option if you want the action to use the stable version of V (latest GitHub release tag)false
architectureTarget architecture for V to use. Examples: x86_64, arm64, aarch64, riscv64. Uses the system architecture by default.
pathDirectory to install V into. Defaults to ~/vlang/vlang_{platform}_{arch}""
cacheCache the V executable to speed up subsequent runs. Only applies when the version input is specified.true
cleanRemove non-essential files (examples, tests, benchmarks, docs) from the V installation directory after building. Helps prevent interference with project-level V commands like fmt -verify.true
namedescription
bin-pathPath to the directory that contains the V binary
v-bin-pathPath to the V binary
versionVersion of V installed
architectureArchitecture that was used to install V