ci: remove cargo-semver-checks flags that are no longer necessary (#5496)

These flags were previously only needed due to a bug in the `cargo-semver-checks` CLI logic.

The correct behavior (available as of v0.18.3) for `cargo-semver-checks` is to ignore `publish = false` crates when scanning a workspace, *unless* those crates are specifically selected for checking.

All the crates being excluded here are `publish = false` so they are already excluded by the default behavior, so all `--exclude` flags are no-ops.
This commit is contained in:
Predrag Gruevski
2023-02-22 18:54:17 +00:00
committed by GitHub
parent d7b7c61317
commit cf486361d0
+1 -7
View File
@@ -245,13 +245,7 @@ jobs:
tool: cargo-semver-checks
- name: Check semver compatibility
run: |
cargo semver-checks check-release \
--release-type minor \
--exclude benches \
--exclude examples \
--exclude stress-test \
--exclude tests-build \
--exclude tests-integration
cargo semver-checks check-release --release-type minor
cross-check:
name: cross-check