cargo-unmaintained icon indicating copy to clipboard operation
cargo-unmaintained copied to clipboard

Create binaries for each release

Open jayvdb opened this issue 11 months ago • 2 comments

I am now able to run cargo-unmaintained with configured ignores and see "No unmaintained packages found".

Now I would like to integrate this into CI, and the way I usually do this with Rust tools is to use https://github.com/taiki-e/install-action to install the binary , as it verifies the github release binary .

To do that, this repo would need to upload built binaries as part of each release. Most other Rust tools do this.

I recommend using https://github.com/taiki-e/upload-rust-binary-action to create the release with the binaries.

jayvdb avatar Jan 19 '25 02:01 jayvdb

Now I would like to integrate this into CI, and the way I usually do this with Rust tools is to use https://github.com/taiki-e/install-action to install the binary , as it verifies the github release binary .

To help me understand, the approach you're describing will cause install-action to use cargo-binstall to install the binary?

From Supported Tools:

If a tool not included in the list above is specified, this action uses cargo-binstall as a fallback.

smoelius avatar Jan 20 '25 12:01 smoelius

Yes, cargo-binstall support would be an immediate benefit. But then I would also add it to the list of supported tools - I've added quite a few so far. Once it is added, the scripts there will verify the github binary hasnt been tampered with after it was first uploaded.

jayvdb avatar Jan 20 '25 13:01 jayvdb