diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/rust.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b33d152..7ffb79b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,3 +19,10 @@ jobs: run: cargo fmt --all -- --check - name: clippy run: cargo clippy + - name: Check crate package size + run: | + curl -LSfs https://raw.githubusercontent.com/the-lean-crate/cargo-diet/master/ci/install.sh | \ + sh -s -- --git the-lean-crate/cargo-diet --target x86_64-unknown-linux-musl + + cargo diet -n --package-size-limit 30KB + |