forked from solana-developers/helpers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use setup-solana to cache the Solana CLI
- Loading branch information
1 parent
2aa51f3
commit 04f4ad2
Showing
1 changed file
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,14 +12,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# From https://docs.solana.com/cli/install-solana-cli-tools | ||
- name: Install Solana | ||
run: sh -c "$(curl -sSfL https://release.solana.com/stable/install)" | ||
|
||
- name: Add to PATH | ||
run: echo "/home/runner/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH | ||
- uses: actions/checkout@v4 | ||
- uses: metadaoproject/[email protected] | ||
with: | ||
# Install Solana CLI (beta, required to fix 'ahash' issue) | ||
solana-cli-version: "1.18.5" | ||
|
||
- name: Run Solana validator (and background it) | ||
run: solana-test-validator & | ||
|