File tree Expand file tree Collapse file tree 4 files changed +203
-175
lines changed
Expand file tree Collapse file tree 4 files changed +203
-175
lines changed Original file line number Diff line number Diff line change 1919 uses : actions/checkout@v3
2020 - uses : actions-rust-lang/setup-rust-toolchain@v1
2121 with :
22- toolchain : 1.67.1
23- components : rustfmt, clippy
2422 cache-workspaces : " pythnet/message_buffer -> target"
2523 - name : Install Solana
2624 run : |
3331 unset CARGO_UNSTABLE_SPARSE_REGISTRY
3432 unset CARGO_REGISTRIES_CRATES_IO_PROTOCOL
3533 # Anchor doesn't build with newer Rust
36- cargo install --git https://github.com/coral-xyz/anchor --tag v0.27.0 anchor-cli --locked
34+ cargo +1.66.1 install --git https://github.com/coral-xyz/anchor --tag v0.27.0 anchor-cli --locked
3735 - name : Install g++ 12
3836 run : |
3937 sudo apt-get install g++-12
5149 with :
5250 run_install : true
5351 - name : Build and generate IDLs
54- run : anchor build
52+ run : |
53+ rustup override set 1.66.1
54+ anchor build
55+ rustup override unset
5556 - name : Copy anchor target files
5657 run : cp ./target/idl/message_buffer.json idl/ && cp ./target/types/message_buffer.ts idl/
5758 - name : Fix formatting (to avoid pre-commit failures)
You can’t perform that action at this time.
0 commit comments