dhruvwebdev/Solana Setup Action
Reusable GitHub Action to set up a full Solana development environment
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| node-version | Node.js version to use | no | 18 |
| solana-cli-version | Solana CLI version to install | no | "" |
| anchor-version | Anchor CLI version to install | no | "" |
| pnpm-package-manager | pnpm version to install | no | "" |
| yarn-package-manager | Yarn version to install | no | "" |
| solana-network-url | Solana network url to use for deployment (e.g., http://localhost:8899, https://api.devnet.solana.com, https://api.testnet.solana.com, https://api.mainnet-beta.solana.com) | no | http://localhost:8899 |
| solana-airdrop-amount | Amount of SOL to airdrop to the wallet (only for localhost/devnet/testnet) | no | 1 |
| solana-wallet-setup | Script/command to set up the wallet, airdrop SOL for testing, and deploy the contract (e.g., ./scripts/setup-wallet.sh) | no | "" |
| build-script | Script/command to build the project (e.g., anchor build) | no | "" |
| test-script | Script/command to test the project (e.g., anchor test) | no | "" |
| deploy-script | Script/command to deploy the project (e.g., anchor deploy) | no | "" |
| x-ray-enabled | Enable Sec3 X-Ray Analysis | no | false |
| working-directory | Working directory for X-Ray analysis | no | . |
Outputs
no outputs