Skip to content

Commit 3d98d74

Browse files
fix: fix CI (#187)
## What ❔ Fixes CI on main: * Fix some typos * Pin cargo-deny action to a working version * Allow some cargo deny advisories <!-- What are the changes this PR brings about? --> <!-- Example: This PR adds a PR template to the repo. --> <!-- (For bigger PRs adding more context is appreciated) --> ## Why ❔ <!-- Why are these changes done? What goal do they contribute to? What are the principles behind them? --> <!-- The `Why` has to be clear to non-Matter Labs entities running their own ZK Chain --> <!-- Example: PR templates ensure PR reviewers, observers, and future iterators are in context about the evolution of repos. --> ## Is this a breaking change? - [ ] Yes - [ ] No ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted.
1 parent b93c285 commit 3d98d74

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

.github/workflows/deny.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ jobs:
55
cargo-deny:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
9-
- uses: EmbarkStudios/cargo-deny-action@v1
8+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9+
- uses: EmbarkStudios/cargo-deny-action@76cd80eb775d7bbbd2d80292136d74d39e1b4918 # v2.0.11
10+
with:
11+
command: check
12+
command-arguments: "--allow unmaintained --hide-inclusion-graph"

deny.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
[advisories]
2+
ignore = [
3+
# TODO: upgrade to ruint 1.17.1
4+
{ id = "RUSTSEC-2025-0137", reason = "Unsoundness in reciprocal_mg10, which we do not use" },
5+
# TODO: replace paste with pastey
6+
{ id = "RUSTSEC-2024-0436", reason = "Use of unmaintained crate paste" },
7+
# TODO: replace instant with web-time
8+
{ id = "RUSTSEC-2024-0384", reason = "Use of unmaintained crate instant" },
9+
{ id = "RUSTSEC-2025-0141", reason = "Use of unmaintained crate bincode" },
10+
{ id = "RUSTSEC-2024-0388", reason = "Use of unmaintained crate derivative" }
11+
]
12+
213

314
[bans]
415
multiple-versions = "warn"
@@ -27,6 +38,8 @@ allow = [
2738
"ISC",
2839
"Unicode-3.0",
2940
"CC0-1.0",
41+
"CDDL-1.0",
42+
3043
]
3144
exceptions = [
3245
]
@@ -53,4 +66,4 @@ license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]
5366
[[licenses.clarify]]
5467
crate = "rustls-webpki"
5568
expression = "ISC"
56-
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]
69+
license-files = [{ path = "LICENSE", hash = 0x001c7e6c }]

tools/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You can also:
2424
You can run the RISC-V binary on the emulator, to see the expected outputs and number of used cycles.
2525

2626
```
27-
cargo run run --bin ../../examples/basic_fibonacci/app.bin
27+
cargo run run --bin ../../examples/basic_fibonacci/app.bin
2828
```
2929

3030
By default it will run for up to 1_000_000 cycles, but you can specify `--cycles` to set number of cycles manually.

0 commit comments

Comments
 (0)