Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/actions/ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ runs:
steps:
- name: rust compilation prerequisites (ubuntu)
run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
sudo rm -f /etc/apt/sources.list.d/azure-cli.list
sudo apt-get update -yqq
# Only the distro sources.list. GitHub images also ship Chrome /
# Microsoft / Azure lists under sources.list.d; a hash-mismatch
# there fails the whole update even though we never install them.
sudo apt-get update -yqq \
-o Dir::Etc::sourcelist="sources.list" \
-o Dir::Etc::sourceparts="-" \
-o APT::Get::List-Cleanup="0"
sudo apt-get install -yqq --no-install-recommends \
libclang-dev \
clang \
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,21 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v5
- uses: ./.github/actions/ubuntu
# Format-only: do not use ./.github/actions/ubuntu. That action
# apt-get updates every runner source (including Google Chrome) and
# installs clang/protobuf/wasm — none of which rustfmt or taplo need.
- name: Install rustfmt
run: rustup toolchain install nightly-2026-08-31 --profile minimal --component rustfmt
- name: Cache taplo
uses: actions/cache@v5
with:
path: ~/.cargo/bin/taplo
key: taplo-cli-${{ runner.os }}
- name: Install taplo
run: cargo install taplo-cli --locked
run: |
if ! command -v taplo >/dev/null 2>&1; then
cargo install taplo-cli --locked
fi
- name: Run format checks
run: |
taplo format --check --config taplo.toml
Expand Down
35 changes: 14 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,21 +124,21 @@ anyhow = "1.0"

qp-plonky2 = { version = "1.5.5", default-features = false, features = ["rand", "std"] }
qp-plonky2-verifier = { version = "1.5.5", default-features = false }
qp-wormhole-aggregator = { version = "4.3.0", default-features = false, features = ["rayon", "std"] }
qp-wormhole-circuit = { version = "4.3.0", default-features = false, features = ["std"] }
qp-wormhole-circuit-builder = { version = "4.3.0" }
qp-wormhole-inputs = { version = "4.3.0", default-features = false, features = ["std"] }
qp-wormhole-prover = { version = "4.3.0", default-features = false, features = ["std"] }
qp-wormhole-verifier = { version = "4.3.0", default-features = false, features = ["std"] }
qp-zk-circuits-common = { version = "4.3.0", default-features = false, features = ["std"] }
qp-wormhole-aggregator = { version = "4.4.0", git = "https://github.com/Quantus-Network/qp-zk-circuits", tag = "v4.4.0", default-features = false, features = ["rayon", "std"] }
qp-wormhole-circuit = { version = "4.4.0", git = "https://github.com/Quantus-Network/qp-zk-circuits", tag = "v4.4.0", default-features = false, features = ["std"] }
qp-wormhole-circuit-builder = { version = "4.4.0", git = "https://github.com/Quantus-Network/qp-zk-circuits", tag = "v4.4.0" }
qp-wormhole-inputs = { version = "4.4.0", git = "https://github.com/Quantus-Network/qp-zk-circuits", tag = "v4.4.0", default-features = false, features = ["std"] }
qp-wormhole-prover = { version = "4.4.0", git = "https://github.com/Quantus-Network/qp-zk-circuits", tag = "v4.4.0", default-features = false, features = ["std"] }
qp-wormhole-verifier = { version = "4.4.0", git = "https://github.com/Quantus-Network/qp-zk-circuits", tag = "v4.4.0", default-features = false, features = ["std"] }
qp-zk-circuits-common = { version = "4.4.0", git = "https://github.com/Quantus-Network/qp-zk-circuits", tag = "v4.4.0", default-features = false, features = ["std"] }

[target.'cfg(unix)'.dependencies]
libc = "0.2"

[build-dependencies]
hex = "0.4"
qp-poseidon-core = "3.1.0"
qp-wormhole-circuit-builder = { version = "4.3.0" }
qp-wormhole-circuit-builder = { version = "4.4.0", git = "https://github.com/Quantus-Network/qp-zk-circuits", tag = "v4.4.0" }
sha2 = "0.10"

[dev-dependencies]
Expand Down
Loading