Skip to content

Consider rust-specific cache action #458

@iliekturtles

Description

@iliekturtles

Instead of manual cache setup, consider a rust-specific action like https://github.com/Swatinem/rust-cache. What do other crates do for caching?

# Cache based on OS/compiler.
- name: Extract cache
uses: actions/cache@v3
with:
path: |
~/.cargo
!~/.cargo/registry/index
!~/.cargo/git/checkouts
target
!target/tests
!target/examples
key: ${{ runner.os }}-${{ steps.install-rust.outputs.cachekey }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions