cargo check
cargo test
cargo clippy --all-targets --all-features -- -D warningschmod +x .githooks/pre-commit
git config core.hooksPath .githookspipx install pre-commit
pre-commit install
pre-commit run --all-filescargo fmt --all --checkcargo checkcargo clippy --all-targets --all-features -- -D warningscargo test --test cli_tests
The CLI repository has its own release pipeline at .github/workflows/release.yml.
- Trigger: push tag matching
v*.*.*(for example:v0.2.2) - Artifact build script:
.github/scripts/distribute.sh - Outputs per target:
vulnera-cli-<tag>-<target>.tar.gzvulnera-cli-<tag>-<target>.sha256
Manual local packaging:
chmod +x .github/scripts/distribute.sh
.github/scripts/distribute.sh v0.2.2 x86_64-unknown-linux-gnu