An optimized action for installing the Solana Tool Suite.
If you use Anchor, you should also check out Setup Anchor.
Here's an example workflow:
name: example-workflow
on: [push]
jobs:
run-solana:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: metadaoproject/setup-solana@v1.0
- run: solana block
shell: bash
This will use the default versions of the Solana Tool Suite, 16.15.1. You can also configure this version like so:
steps:
- uses: actions/checkout@v3
- uses: metadaoproject/setup-solana@v1.0
with:
solana-cli-version: '1.10.32'
The scripts and documentation in this project are released under the MIT License.