Skip to content

feat: add contract CI pipeline#268

Open
Mrcee-arch wants to merge 2 commits into
FaveTeamz:mainfrom
Mrcee-arch:ci-pipeline
Open

feat: add contract CI pipeline#268
Mrcee-arch wants to merge 2 commits into
FaveTeamz:mainfrom
Mrcee-arch:ci-pipeline

Conversation

@Mrcee-arch

Copy link
Copy Markdown
  • lint job: cargo fmt --check + cargo clippy -D warnings
  • test job: cargo test --features testutils with llvm-cov coverage
    • posts coverage report as PR comment (creates/updates)
    • uploads lcov to Codecov with contract flag
  • build-wasm job: compiles wasm32v1-none target, uploads unoptimized artifact
  • optimize job: runs stellar contract optimize, uploads artifact (90-day retention on main, 7-day on PRs); enforces 64 KB size limit
  • fuzz job: nightly schedule only, 10-minute cargo-fuzz run per target
  • concurrency group cancels in-flight runs on new push

Summary

Changes

Testing

Checklist

  • cargo fmt applied
  • cargo clippy --features testutils -- -D warnings passes
  • cargo test --features testutils passes
  • New tests added for new behaviour
  • CHANGELOG.md updated under [Unreleased]
  • Docs updated if public API or behaviour changed

closes #212

- lint job: cargo fmt --check + cargo clippy -D warnings
- test job: cargo test --features testutils with llvm-cov coverage
  - posts coverage report as PR comment (creates/updates)
  - uploads lcov to Codecov with contract flag
- build-wasm job: compiles wasm32v1-none target, uploads unoptimized artifact
- optimize job: runs stellar contract optimize, uploads artifact (90-day
  retention on main, 7-day on PRs); enforces 64 KB size limit
- fuzz job: nightly schedule only, 10-minute cargo-fuzz run per target
- concurrency group cancels in-flight runs on new push

Closes FaveTeamz#1
@drips-wave

drips-wave Bot commented Jul 1, 2026

Copy link
Copy Markdown

@Mrcee-arch Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: set up GitHub Actions pipeline for build, test, and WASM optimization

1 participant