This directory contains CI/CD workflows for the SkillCert Contracts project.
Runs on every push and pull request to main:
- ✅ Checks code formatting
- 🔧 Runs Clippy for static analysis
- 🏗️ Builds all contracts
- 🧪 Runs all tests
- 📦 Builds optimized contracts with Soroban
Runs when a v* tag is created:
- 📦 Builds optimized contracts
- 🚀 Creates a release with WASM files
The workflows automatically install:
libdbus-1-dev- Required by Soroban CLIpkg-config- To find system libraries
Run the local test script before pushing:
chmod +x scripts/ci-test.sh
./scripts/ci-test.shThe workflows use cache for:
- Cargo registry
- Compiled dependencies
- Soroban CLI binary
This significantly speeds up builds.