Skip to content

feat: Configure CI Pipeline & Verify Local CLI Tooling#21

Merged
Devsol-01 merged 3 commits intoDevsol-01:mainfrom
ALIPHATICHYD:feat/github-actions-ci
Jan 22, 2026
Merged

feat: Configure CI Pipeline & Verify Local CLI Tooling#21
Devsol-01 merged 3 commits intoDevsol-01:mainfrom
ALIPHATICHYD:feat/github-actions-ci

Conversation

@ALIPHATICHYD
Copy link
Copy Markdown
Contributor

Closes #1

Changes

1. GitHub Actions Workflow (.github/workflows/ci.yml)

  • Triggers: Push to main branch and all pull requests

  • Jobs:

    • Rustfmt: Validates code formatting with cargo fmt --check

    • Clippy: Runs linter with strict warnings

    • Test Suite: Executes all tests with cargo test

    • Build WASM: Builds the Stellar contract and verifies .wasm artifact generation

2. Code Quality Fixes

  • Added #![allow(non_snake_case)] to resolve clippy warnings

  • Applied cargo fmt to ensure consistent code formatting across the project

Verification

cargo fmt --check - Code formatting validated
cargo clippy -- -D warnings - All linting warnings resolved
make fmt - Makefile formatting target works
make clean - Makefile clean target works
✅ CI workflow triggers on push to main and PRs

Definition of Done

  • GitHub Actions workflow created
  • All required checks configured (fmt, clippy, test, build)
  • WASM artifact generation verified
  • Makefile targets verified locally
  • Code quality checks passing

- Add comprehensive CI pipeline with separate jobs for testing, formatting, linting, and building
- Installs Rust stable toolchain with wasm32-unknown-unknown target
- Runs cargo fmt --check to enforce code formatting
- Runs cargo clippy with -D warnings for strict linting
- Runs cargo test for comprehensive testing
- Builds WASM contract using make build and verifies artifact generation
- Includes cargo caching for faster workflow execution
- Triggers on push to main and pull requests

Addresses Devsol-01#1: Set up automated testing on GitHub using GitHub Actions
Update WASM artifact verification to use correct stellar contract build output path: target/wasm32v1-none/release/
@Devsol-01 Devsol-01 merged commit 4d679ba into Devsol-01:main Jan 22, 2026
@ALIPHATICHYD
Copy link
Copy Markdown
Contributor Author

Can I get some Compliments
Thank you 🔥

@ALIPHATICHYD
Copy link
Copy Markdown
Contributor Author

ALIPHATICHYD commented Feb 5, 2026

@Devsol-01 Can I get some Compliments
Thank you 🔥

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.

# Configure CI Pipeline & Verify Local CLI Tooling

2 participants