Skip to content
Closed
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
34 changes: 33 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,37 @@ version: 2.1
# Excluded: pr-title.yml, label-pr.yml, and the privileged cyclops-audit.yml integration.

jobs:
# Replaces lint.yml's `deny` job, which calls tempoxyz/ci's reusable deny.yml. That workflow starts
# with tempoxyz's secure-runner, which needs a GitHub OIDC token that act never receives, so the
# check itself runs natively here. Its policy comes from deny.toml in this repo.
#
# When re-applying this CI patch onto a new reth release, diff lint.yml's `deny:` job and the
# tempoxyz/ci deny.yml it calls against this job (toolchain, cargo-deny version, `check`
# arguments, deny flags), and update both pins here.
cargo-deny:
docker:
- image: rust:1.95-bookworm@sha256:6258907abe69656e41cd992e0b705cdcfabcbbe3db374f92ed2d47121282d4a1
resource_class: medium
steps:
- checkout
- run:
name: Install pinned cargo-deny
command: |
set -euo pipefail
readonly DENY_VERSION="0.20.2"
readonly DENY_SHA256="9f12ed4c49936e09b48bf862b595cde2fe64fcbd9d74dfacac6131ca824c8d5f"
readonly DENY_ARCHIVE="cargo-deny-${DENY_VERSION}-x86_64-unknown-linux-musl.tar.gz"
curl --fail --silent --show-error --location \
"https://github.com/EmbarkStudios/cargo-deny/releases/download/${DENY_VERSION}/${DENY_ARCHIVE}" \
--output "/tmp/${DENY_ARCHIVE}"
echo "${DENY_SHA256} /tmp/${DENY_ARCHIVE}" | sha256sum --check
tar -xzf "/tmp/${DENY_ARCHIVE}" -C /usr/local/bin --strip-components=1 \
"cargo-deny-${DENY_VERSION}-x86_64-unknown-linux-musl/cargo-deny"
test "$(cargo-deny --version)" = "cargo-deny ${DENY_VERSION}"
- run:
name: cargo deny check
command: cargo deny --log-level warn --all-features check all

prepare-act-event:
machine:
image: ubuntu-2404:2025.09.1
Expand Down Expand Up @@ -194,7 +225,8 @@ workflows:
- grafana
- no-test-deps
- feature-propagation
- deny
- cargo-deny:
name: lint-deny
- act:
wf: unit.yml
concurrent_jobs: 1
Expand Down
18 changes: 4 additions & 14 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ ignore = [
"RUSTSEC-2023-0089",
# https://rustsec.org/advisories/RUSTSEC-2026-0173 proc-macro-error2 is unmaintained
"RUSTSEC-2026-0173",
# https://rustsec.org/advisories/RUSTSEC-2026-0247 bitmaps is unmaintained, transitive dep via imbl
"RUSTSEC-2026-0247",
]

# This section is considered when running `cargo deny check bans`.
Expand Down