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
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,22 @@ jobs:
- uses: dtolnay/rust-toolchain@1.85.0
- uses: Swatinem/rust-cache@v2
- run: cargo check --workspace

publish-check:
name: cargo package workspace
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
# `cargo package --workspace` packs every member into target/package/ in
# topological order and verifies each one against a tmp-registry built
# from the sibling tarballs. This catches:
# * `include_str!`/asset paths that escape the crate root
# * Cargo.toml manifest issues (missing license/description, oversized
# tarball, files outside [package].include, etc.)
# * cross-crate API mismatches (verify-compile sees the new sibling
# version locally instead of falling back to the published one)
# This is the same verification step release-plz runs at publish time;
# running it on every PR catches publish-only failures before merge.
- run: cargo package --workspace
File renamed without changes.
2 changes: 1 addition & 1 deletion peeroxide-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ mod manpage;
const LONG_VERSION: &str = concat!(
env!("CARGO_PKG_VERSION"),
"\n\n",
include_str!("../../docs/ascii_art.txt"),
include_str!("ascii_art.txt"),
);

#[derive(Parser)]
Expand Down
Loading