Description
Continuous Integration is crucial for open-source projects to prevent regressions. Since Kolo handles user funds (USDC), we must guarantee that no broken code is merged into the main branch. We need a GitHub Actions workflow to automatically build the Rust contract and run all unit tests on every Pull Request. This ensures every contributor's code is validated against the Stellar/Soroban toolchain automatically.
Acceptance Criteria
- Create a .github/workflows/rust.yml file.
- Configure the workflow to install Rust, the wasm32-unknown-unknown target, and the Soroban CLI.
- Add workflow steps to execute cargo test and cargo build --target wasm32-unknown-unknown --release.
- Proof of Work: Provide a screenshot of the GitHub Actions tab showing a successful workflow run on your fork.
- Scope Control: Ensure no other files outside the github workflows directory were touched. If other files were touched or broken, fix them before opening the PR.
- Maintainer Communication: If you face any issues or need clarification, please communicate with the maintainer by leaving a comment on this issue.
Description
Continuous Integration is crucial for open-source projects to prevent regressions. Since Kolo handles user funds (USDC), we must guarantee that no broken code is merged into the main branch. We need a GitHub Actions workflow to automatically build the Rust contract and run all unit tests on every Pull Request. This ensures every contributor's code is validated against the Stellar/Soroban toolchain automatically.
Acceptance Criteria