This branch installs an explicitly pinned version of cbindgen before performing the diff check of the ensure-header-updated workflow step.
Previously we used the version of cbindgen that was installed on the base GitHub runner image, which can be hard to match to the version used in local development and may change out from under us.
Since there can be non-semantic differences in output between point releases of cbindgen that will fail the diff check it's important developers can predict the exact version that will used in CI in order to match it when generating an updated .h locally.
This branch installs an explicitly pinned version of
cbindgen
before performing the diff check of theensure-header-updated
workflow step.Previously we used the version of
cbindgen
that was installed on the base GitHub runner image, which can be hard to match to the version used in local development and may change out from under us.Since there can be non-semantic differences in output between point releases of
cbindgen
that will fail the diff check it's important developers can predict the exact version that will used in CI in order to match it when generating an updated.h
locally.