Skip to content

Commit 83f0408

Browse files
mikemaccanaclaude
andcommitted
Document why setup-arcium was removed and add caching TODO
Added comments explaining: - The arcup 0.6.2 bootstrap bug that prevents using setup-arcium action - TODO to restore setup-arcium once the bug is fixed - TODO to add caching for Rust, Solana CLI, Anchor, and Arcium to reduce CI build times 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a91b6cf commit 83f0408

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
jobs:
1010
run-arcium-build:
1111
runs-on: ubuntu-latest
12+
# TODO: Add caching for Rust, Solana CLI, Anchor, and Arcium installations
13+
# to reduce CI build times. Consider using actions/cache for:
14+
# - ~/.cargo (Rust toolchain and Anchor)
15+
# - ~/.local/share/solana (Solana CLI)
1216
steps:
1317
- uses: actions/checkout@v3
1418

@@ -28,6 +32,11 @@ jobs:
2832
- name: Install Anchor
2933
run: cargo install --git https://github.com/solana-foundation/anchor --tag v0.32.1 anchor-cli --locked
3034

35+
# TODO: Restore setup-arcium action once arcup 0.6.2 bootstrap bug is fixed
36+
# Currently cannot use arcium-hq/setup-arcium action because arcup 0.6.2 has a bootstrap bug
37+
# where it panics with "index not found" at arcup/src/config.rs:29:51 when running
38+
# 'arcup list' or 'arcup install'. The arcup binary doesn't have version 0.6.2 in its
39+
# internal configuration/version list. Workaround: download arcium CLI binary directly.
3140
- name: Install Arcium CLI
3241
run: |
3342
curl "https://bin.arcium.com/download/arcium_x86_64_linux_0.6.2" -o ~/.cargo/bin/arcium

0 commit comments

Comments
 (0)