From 564fa8aee117e019ae98d3505b473ce290d687c1 Mon Sep 17 00:00:00 2001 From: Jo D Date: Thu, 30 Apr 2026 16:04:08 -0400 Subject: [PATCH] ci: configure Solana CLI before devnet verify build solana-verify's `process_otter_verify_ixs` always calls `get_user_config_with_path(None)?` before checking whether `-k` was supplied, so it loads `~/.config/solana/cli/config.yml` even when an explicit keypair is passed. The setup action only creates `~/.config/solana/id.json`; nothing in the workflow had ever called `solana config set`, so config.yml never existed and verify-build failed during the upload phase with `Error: No such file or directory (os error 2)`. Run `solana config set --url $RPC_URL --keypair ~/.config/solana/id.json` once after setup to materialize config.yml with a keypair path that exists. The deployer keypair from Doppler is still passed to every sub-action via `inputs.keypair` and remains the actual signer. --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f8cd511..b87638b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -64,6 +64,9 @@ jobs: PUBKEY=$(solana-keygen pubkey /tmp/deployer.json) echo "pubkey=$PUBKEY" >> "$GITHUB_OUTPUT" + - name: Configure Solana CLI + run: solana config set --url "$RPC_URL" --keypair "$HOME/.config/solana/id.json" + - name: Generate IDL run: just generate-idl