feat: Configure CI Pipeline & Verify Local CLI Tooling#21
Merged
Devsol-01 merged 3 commits intoDevsol-01:mainfrom Jan 22, 2026
Merged
feat: Configure CI Pipeline & Verify Local CLI Tooling#21Devsol-01 merged 3 commits intoDevsol-01:mainfrom
Devsol-01 merged 3 commits intoDevsol-01:mainfrom
Conversation
- 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/
Contributor
Author
|
Can I get some Compliments |
Contributor
Author
|
@Devsol-01 Can I get some Compliments |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 --checkClippy: Runs linter with strict warnings
Test Suite: Executes all tests with
cargo testBuild WASM: Builds the Stellar contract and verifies .wasm artifact generation
2. Code Quality Fixes
Added
#![allow(non_snake_case)]to resolve clippy warningsApplied
cargo fmtto ensure consistent code formatting across the projectVerification
✅
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