The new version is built from scratch using Node.js and TypeScript, brings support for non-Linux runners and introduces the following changes:
- Input
crate-name
is nowpackage
and accepts a list instead of a single name. - Added inputs
exclude
,manifest-path
,verbose
andrelease-type
with the same meaning as incargo-semver-checks
CLI. - Added input
rust-toolchain
allowing to specify a toolchain to use. - Input
crate-target
is removed, ascargo-semver-checks
can be used only with library crates. - Input
version-tag-prefix
is removed, as the new action uses baseline choosing logic ofcargo-semver-checks
.
Moreover, the action now uses some optimizations to improve the running time:
cargo-semver-checks
is downloaded as a pre-compiled binary instead of being built from source,- baseline rustdoc is cached between runs,
- crates from
crates.io
are downloaded using "sparse" protocol if the used toolchain version is at least1.68.0
(ornightly-2023-01-21
and newer).