Skip to content

Commit

Permalink
fix: update anchor gh ci
Browse files Browse the repository at this point in the history
  • Loading branch information
wiseaidev committed Jul 10, 2024
1 parent 6cd916a commit 5500c99
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- name: Install Solana CLI
run: |
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
export PATH="~/.local/share/solana/install/active_release/bin:$PATH"
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
- name: Install Solana Build Tools
run: |
curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v1.17.17/install/solana-install-init.sh | sh -s - v1.17.17
curl -sSf https://raw.githubusercontent.com/solana-labs/solana/v1.17.17/install/solana-install-init.sh | sh -s - v1.18.15
- name: Install Anchor CLI
run: |
sudo apt-get update && sudo apt-get upgrade && sudo apt-get install -y pkg-config build-essential libudev-dev libssl-dev
Expand All @@ -35,4 +35,6 @@ jobs:
avm use latest
anchor --version
- name: Run Integration Tests
run: cd examples/todo-program && anchor test
run: |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
cd examples/todo-program && anchor test

0 comments on commit 5500c99

Please sign in to comment.