File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 55
55
steps :
56
56
- uses : actions/checkout@v4
57
57
with :
58
- submodules : true
58
+ submodules : true
59
59
60
60
# Install Rust toolchain (if not already)
61
61
- name : Install Rust & components
@@ -65,25 +65,30 @@ jobs:
65
65
rustup component add rustfmt clippy
66
66
working-directory : ./solana
67
67
68
+ # Install native deps for OpenSSL bindings
69
+ - name : Install native deps for OpenSSL bindings
70
+ run : |
71
+ sudo apt-get update
72
+ sudo apt-get install -y pkg-config libssl-dev ca-certificates
73
+
68
74
# Install AVM (Anchor Version Manager) via cargo
69
75
- name : Install AVM
70
76
run : |
71
77
cargo install --locked avm
72
- # Ensure AVM is on PATH
73
- source $HOME/.cargo/env
78
+ source "$HOME/.cargo/env"
74
79
75
80
# Use AVM to install the Anchor CLI
76
81
- name : Install Anchor CLI via AVM
77
82
env :
78
- ANCHOR_VERSION : 0.30.1
83
+ ANCHOR_VERSION : " 0.30.1"
79
84
run : |
80
- avm install "$ANCHOR_VERSION" --force
81
- avm use "$ANCHOR_VERSION"
85
+ avm install "${ ANCHOR_VERSION} " --force
86
+ avm use "${ ANCHOR_VERSION} "
82
87
anchor --version
83
88
84
89
- name : make check-idl
85
- run : make check-idl
86
90
working-directory : ./solana
91
+ run : make check-idl
87
92
88
93
make-anchor-test :
89
94
name : make anchor-test
You can’t perform that action at this time.
0 commit comments