[ci] Check with profiling enabled.

Minimum version of `profiling` increases from ^1.0.0 to ^1.0.1 because
the `type-check` feature was added in 1.0.1.
This commit is contained in:
Kevin Reid authored and Connor Fitzgerald committed 2025-07-10 16:03:48 -04:00
1 parent 81e6875312
commit fb3abfce2c
3 files changed
+8 -1

No files matched your search

+4
View File
@@ -313,6 +313,10 @@ jobs:
# Check with all features.
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} --tests --benches --all-features
# Check with all features and profiling macro code.
# If we don't check this then errors inside `profiling::scope!()` will not be caught.
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} --tests --benches --all-features --features test-build-with-profiling
# build docs
cargo doc --target ${{ matrix.target }} ${{ matrix.extra-flags }} --all-features --no-deps