Add Rust proposal ID boundary tests #32
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
| name: NovaNexus CI | |
| on: | |
| push: | |
| branches: | |
| - local-recovery-work | |
| pull_request: | |
| jobs: | |
| safety-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Set up Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install --upgrade pip setuptools wheel | |
| python -m pip install -e ".[dev]" | |
| python -m pip install maturin | |
| - name: Build Rust risk engine wheel | |
| run: | | |
| python -m maturin build \ | |
| --release \ | |
| --manifest-path engine/novanexus_engine/Cargo.toml \ | |
| --out dist | |
| - name: Install Rust risk engine wheel | |
| run: | | |
| python -m pip install --force-reinstall dist/novanexus_engine-*.whl | |
| - name: Run NovaNexus security smoke check | |
| run: | | |
| ./scripts/security_check.sh |