chore: cleanup rust BLS example (#11) #5
This file contains 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: examples | |
on: | |
pull_request: | |
merge_group: | |
push: | |
branches: [main] | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Foundry project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- uses: dtolnay/rust-toolchain@stable | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Run Forge build | |
id: build | |
run: forge build | |
- name: Rust BLS multisig example | |
run: cargo run --manifest-path ./examples/bls-multisig/rust/Cargo.toml | |
- name: Python BLS multisig example | |
run: | | |
pip install web3 py_ecc | |
python ./examples/bls-multisig/python/multisig.py |