Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Add cached crate cargo-generate #12

@mciantyre

Description

@mciantyre

Do the checklist before filing an issue:

  • Is this related to the actions-rs Actions? If not, use GitHub Community forum to ask questions about Actions in a whole: https://github.community
  • Does this crate helps with the Rust CI?
  • Is it popular enough to be used by many users?

Crate

crates.io: https://crates.io/crates/cargo-generate
repository: https://github.com/ashleygwilliams/cargo-generate

Motivation

From the cargo-generate docs,

cargo-generate is a developer tool to help you get up and running quickly with a new Rust project by leveraging a pre-existing git repository as a template.

I'm a maintainer of a cargo-generate template. I use actions-rs/install to manually build cargo-generate. The build step is part of a larger job that validates the overall template, making sure that the template will work for end-users. It takes over 6 minutes to compile cargo-generate as part of the job (Ubuntu 18.04).

By providing cargo-generate in the tools cache, we can make it easier for cargo-generate template maintainers to test their templates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions