Skip to content

Harden CI pipeline (pinned SDK + matrix + cache) #98

Description

@nanaf6203-bit

Problem Statement

  • The soroban-sdk dep is pinned to "22.0.0" only by version; no SHA
    pin.
  • CI runs only on nightly. There's no matrix including stable.
  • soroban CLI optimization is conditional and silently skipped.

Why it matters
A surprise release of soroban-sdk 23 can break the build late on a
Friday. CI should give early warning.

Acceptance Criteria

  • Pin soroban-sdk by SHA in Cargo.lock via cargo update --precise.
  • CI matrix: {nightly, stable} × {sdk-pinned, sdk-latest-in-22.x}.
  • soroban CLI install step in CI (replace conditional).
  • Cache soroban/stellar binaries.

Files/Modules Likely Affected

  • .github/workflows/ci.yml
  • .github/workflows/deploy.yml
  • Cargo.lock (committed)
  • Makefile

Difficulty Hard. Estimated Effort M.

Labels
area:ci, area:smart-contract-safety, priority:high


Imported from docs/open-issues-draft.md as draft issue #38 (commit 7becd4b). Original draft-order cross-references in this body have been remapped to current GitHub issue numbers at import time.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26area:ciImported from open-issues-draft.mdarea:smart-contract-safetyImported from open-issues-draft.mdpriority:highImported from open-issues-draft.md

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions