Skip to content

Commit

Permalink
Use index_list 0.2.7 in zero-copy tests
Browse files Browse the repository at this point in the history
`index_list 0.2.10` crate has a breaking change(Fairglow/index-list@28d11ea) which broke the `solana-program-test` crate
  • Loading branch information
acheroncrypto committed Nov 6, 2023
1 parent 262078b commit 879a3b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/reusable-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,9 @@ jobs:
path: tests/declare-id
- cmd: cd tests/typescript && anchor test --skip-lint && npx tsc --noEmit
path: tests/typescript
- cmd: cd tests/zero-copy && anchor test --skip-lint && cd programs/zero-copy && cargo test-sbf
# `solana-program-test` crate doesn't compile because `index_list` crate had a breaking change with a patch release
# TODO: Remove the `cargo update` command after the issue is fixed
- cmd: cd tests/zero-copy && anchor test --skip-lint && cd programs/zero-copy && cargo test-sbf && cargo update -p index_list --precise 0.2.7
path: tests/zero-copy
- cmd: cd tests/chat && anchor test --skip-lint
path: tests/chat
Expand Down

0 comments on commit 879a3b7

Please sign in to comment.