Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ jobs:
if: steps.cache-anchor.outputs.cache-hit != 'true'
run: |
cargo install --git https://github.com/coral-xyz/anchor avm --force
avm install latest
avm use latest
avm install 0.31.0-0e5285aecdf410fa0779b7cd09a47f235882c156
avm use 0.31.0-0e5285aecdf410fa0779b7cd09a47f235882c156
working-directory: packages/contract

- run: chmod +x ~/.cargo/bin/anchor
Expand Down Expand Up @@ -150,8 +150,8 @@ jobs:
name: ${{ env.ANCHOR_BINARY_NAME }}
path: ~/.cargo/bin/
- run: |
avm install latest
avm use latest
avm install 0.31.0-0e5285aecdf410fa0779b7cd09a47f235882c156
avm use 0.31.0-0e5285aecdf410fa0779b7cd09a47f235882c156
chmod +x ~/.cargo/bin/anchor

- name: Cache test target
Expand Down
4 changes: 4 additions & 0 deletions packages/contract/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
[workspace]
resolver = "2"
members = [
"programs/*"
]

[toolchain]
anchor_version = "0.31.0"

[profile.release]
overflow-checks = true
lto = "fat"
Expand Down