baptiste0928/cargo-install

Should this be using pre-release versions?

Closed this issue · 2 comments

Currently it seems that the action is pulling the latest tag rather than the latest stable release — for example, this is one of our cache entries:
image

...but we don't specify a version in the action: https://github.com/PRQL/prql/blob/018b84cbf4e634c808fababac815b9b803fa63ac/.github/workflows/tests.yaml#L511-L513

Notably the latest release of the crate is listed as 0.15.1 (not 0.16.0 beta) at
https://github.com/foresterre/cargo-msrv

image

Thanks again for the excellent action!

This is definitely a bug, we should have the same behavior as regular cargo install when resolving the latest version. It should be fixed in version 3.1.1 (4e83fc4). Thanks for the report!

Great, thanks!