Skip to content

Commit 7b83e8a

Browse files
author
Bengt Lofgren
committed
random llm voodoo
1 parent c0e675c commit 7b83e8a

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/solana.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
steps:
5656
- uses: actions/checkout@v4
5757
with:
58-
submodules: true
58+
submodules: true
5959

6060
# Install Rust toolchain (if not already)
6161
- name: Install Rust & components
@@ -65,25 +65,30 @@ jobs:
6565
rustup component add rustfmt clippy
6666
working-directory: ./solana
6767

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+
6874
# Install AVM (Anchor Version Manager) via cargo
6975
- name: Install AVM
7076
run: |
7177
cargo install --locked avm
72-
# Ensure AVM is on PATH
73-
source $HOME/.cargo/env
78+
source "$HOME/.cargo/env"
7479
7580
# Use AVM to install the Anchor CLI
7681
- name: Install Anchor CLI via AVM
7782
env:
78-
ANCHOR_VERSION: 0.30.1
83+
ANCHOR_VERSION: "0.30.1"
7984
run: |
80-
avm install "$ANCHOR_VERSION" --force
81-
avm use "$ANCHOR_VERSION"
85+
avm install "${ANCHOR_VERSION}" --force
86+
avm use "${ANCHOR_VERSION}"
8287
anchor --version
8388
8489
- name: make check-idl
85-
run: make check-idl
8690
working-directory: ./solana
91+
run: make check-idl
8792

8893
make-anchor-test:
8994
name: make anchor-test

0 commit comments

Comments
 (0)