Skip to content
Compare
Choose a tag to compare
@mgr0dzicki mgr0dzicki released this 24 Apr 10:59
· 17 commits to main since this release
3dda482

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 now package and accepts a list instead of a single name.
  • Added inputs exclude, manifest-path, verbose and release-type with the same meaning as in cargo-semver-checks CLI.
  • Added input rust-toolchain allowing to specify a toolchain to use.
  • Input crate-target is removed, as cargo-semver-checks can be used only with library crates.
  • Input version-tag-prefix is removed, as the new action uses baseline choosing logic of cargo-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 least 1.68.0 (or nightly-2023-01-21 and newer).