Skip to content

Commit

Permalink
👷 Add Solana install step
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Oct 4, 2024
1 parent e043b1d commit 3196f4e
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Cache Rust
uses: Swatinem/rust-cache@v2

- name: Install Solana
run: |
sh -c "$(curl -sSfL https://release.solana.com/${{ env.solana_version }}/install)"
export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
solana --version
- name: Create keypair
run: |
export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
echo $PATH
ls -la $HOME/.local/share/solana/install/active_release/bin
solana --version
solana-keygen new --silent --no-bip39-passphrase
solana airdrop 100
Expand Down

0 comments on commit 3196f4e

Please sign in to comment.