hubbleprotocol/Setup Solana SDK
Setup the Solana SDK and the rust toolchain to build and test smart contracts
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| solana-version | Version of the solana sdk to install (eg. 'v1.17.34'). Avoid symbolic channels (stable, beta and edge) as cache won't get invalidated properly | yes | — |
| anchor-version | Optional version of Anchor CLI to install (eg. 'v0.29.0') | — | — |
| rust-version | Version of rust to install (eg. 'stable'). Will install fmt and clippy | yes | stable |
| setup-node | Optional version of node.js to install (eg. 19). Latest yarn, mocha, ts-mocha and typescript is also installed. If enabled it will also install dependencies with yarn | — | — |
| rust-shared-key | To share the rust dependencies cache among jobs, provide a common key here. | — | — |
| workspace | Optional path to the rust workspace. Default: '.' | — | . |
| skip-yarn | Set to true to disable automatic dependency installation with yarn. Default: 'false' | — | false |
Outputs
| name | description |
|---|---|
| rust-cache-hit | 'true' if rust cache has been restored |