Skip to content

Commit

Permalink
Use setup-solana to cache the Solana CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana committed May 8, 2024
1 parent 2aa51f3 commit 04f4ad2
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 &
Expand Down

0 comments on commit 04f4ad2

Please sign in to comment.