File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -17,19 +17,16 @@ jobs:
1717 - name : Checkout code
1818 uses : actions/checkout@v4
1919
20- - name : Install Solana CLI
21- run : |
22- curl -sSfL https://release.solana.com/v1.14.17/install | sh
23- echo "$HOME/.local/share/ solana/install/active_release/bin" >> $GITHUB_PATH
20+ - name : Setup Solana CLI
21+ uses : solana-labs/setup-solana@v1
22+ with :
23+ solana-cli-version : ' 1.14.17 '
2424
2525 - name : Verify Solana installation
26- run : |
27- export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
28- solana --version
26+ run : solana --version
2927
3028 - name : Start Solana Test Validator
3129 run : |
32- export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
3330 solana-test-validator --reset --rpc-port 8899 --limit-ledger-size 50000000 --url https://api.devnet.solana.com \
3431 --clone ETGtqwDKEm1Z9gq6FdvYUfyDuUZr7g4UdPSmyNLVGriX \
3532 --clone 7UVimffxr9ow1uXYxsr4LHAcV58mLzhmwaeKvJ1pjLiE &
@@ -39,14 +36,11 @@ jobs:
3936
4037 - name : Set Solana Keypair Environment
4138 run : |
42- export PATH="$HOME/.local/share/solana/install/active_release/bin:$PATH"
4339 export SOLANA_KEYPAIR="$(pwd)/.github/Solana-key.json"
4440 solana config set --keypair "$SOLANA_KEYPAIR"
4541
4642 - name : Run E2E Tests
4743 run : make e2e
48- env :
49- PATH : $HOME/.local/share/solana/install/active_release/bin:/usr/local/bin:/usr/bin:/bin
5044
5145 - name : Stop Solana Test Validator
5246 run : pkill solana-test-validator || true
You can’t perform that action at this time.
0 commit comments