Skip to content

Commit

Permalink
restore old anchor installation
Browse files Browse the repository at this point in the history
  • Loading branch information
none00y committed Aug 21, 2024
1 parent 177b85f commit bddd184
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test-protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,11 @@ jobs:
if: steps.cache-anchor.outputs.cache-hit != 'true'
run: |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
cargo install --git https://github.com/coral-xyz/anchor avm --locked --force
avm install ${{ env.anchor_version }}
cargo install --git https://github.com/project-serum/anchor --tag v${{ env.anchor_version }} anchor-cli --locked
- name: build programs
working-directory: ${{ env.protocol_path }}
run: |
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
avm use ${{ env.anchor_version }}
npm i
chmod +x tests.sh
./tests.sh

0 comments on commit bddd184

Please sign in to comment.