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
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,28 @@ jobs:
- name: Check fuzz targets
run: cargo check --manifest-path fuzz/Cargo.toml --bins

advisories:
# Dependency advisory gate (Delivery M004 / Security S5).
#
# `cargo deny` is pinned and installed from source (no third-party action
# runs in this job). `--workspace` is required: the root manifest is the
# `eggress-bench` package, so without it cargo-deny roots the graph at
# that crate and silently skips `eggress-cli` -> `eggup-archive` -> `zip`.
# `deny.toml` sets `[graph] all-features = true` so optional-only
# dependencies are scanned as well. The only ignores are the four tracked
# `zip 6.0.0` advisories (upstream-blocked on `eggup-archive`).
name: Dependency advisories
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install pinned cargo-deny
run: cargo install cargo-deny --locked --version 0.19.0
- name: cargo deny --workspace check
run: cargo deny --workspace check

updater-matrix:
# Delivery M003 evidence: the updater/archive path must execute (not
# merely compile) on Linux, macOS, and Windows. Shell-candidate flow
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
preflight:
name: Release preflight
runs-on: ubuntu-latest
timeout-minutes: 5
timeout-minutes: 20
outputs:
tag: ${{ steps.resolve.outputs.tag }}
version: ${{ steps.resolve.outputs.version }}
Expand Down Expand Up @@ -79,6 +79,20 @@ jobs:
git fetch --tags --force
./scripts/release-preflight.sh --tag "${{ steps.resolve.outputs.tag }}"

# Dependency advisory gate (Delivery M004): a tag cannot ship with an
# unreviewed advisory. `--workspace` includes every member (notably
# `eggress-cli` -> `eggup-archive` -> `zip`, which the default root-only
# graph omits); `deny.toml` audits the all-features graph and carries
# only the four tracked `zip 6.0.0` ignores.
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install pinned cargo-deny
shell: bash
run: cargo install cargo-deny --locked --version 0.19.0
- name: Dependency advisory gate
shell: bash
run: cargo deny --workspace check

- name: Check installer syntax
shell: bash
run: |
Expand Down
Loading
Loading