Skip to content

Commit

Permalink
[chore] add cargo audit to CI (#207)
Browse files Browse the repository at this point in the history
chore: add `cargo audit` to CI

Upgrade criterion version
  • Loading branch information
jonathanpwang authored Nov 2, 2023
1 parent 3f84ec2 commit 4ba2efc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,6 @@ jobs:

- name: Run clippy
run: cargo clippy --all -- -D warnings

- name: Run cargo audit
uses: actions-rs/audit-check@v1
4 changes: 2 additions & 2 deletions halo2-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ rand = { version = "0.8", optional = true }
[dev-dependencies]
ark-std = { version = "0.3.0", features = ["print-trace"] }
rand = "0.8"
pprof = { version = "0.11", features = ["criterion", "flamegraph"] }
criterion = "0.4"
pprof = { version = "0.13", features = ["criterion", "flamegraph"] }
criterion = "0.5.1"
criterion-macro = "0.4"
test-case = "3.1.0"
test-log = "0.2.12"
Expand Down
4 changes: 2 additions & 2 deletions halo2-ecc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ halo2-base = { path = "../halo2-base", default-features = false }

[dev-dependencies]
ark-std = { version = "0.3.0", features = ["print-trace"] }
pprof = { version = "0.11", features = ["criterion", "flamegraph"] }
criterion = "0.4"
pprof = { version = "0.13", features = ["criterion", "flamegraph"] }
criterion = "0.5.1"
criterion-macro = "0.4"
halo2-base = { path = "../halo2-base", default-features = false, features = [
"test-utils",
Expand Down
2 changes: 0 additions & 2 deletions hashes/zkevm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ snark-verifier = { git = "https://github.com/axiom-crypto/snark-verifier.git", b
getset = "0.1.2"

[dev-dependencies]
criterion = "0.3"
ctor = "0.1.22"
ethers-signers = "2.0.8"
hex = "0.4.3"
itertools = "0.11"
Expand Down

0 comments on commit 4ba2efc

Please sign in to comment.