Skip to content

Fast `cargo install` action using a GitHub-based binary cache

Notifications You must be signed in to change notification settings

dtolnay/install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast cargo install action

This GitHub Action installs a Rust crate using precompiled signed binaries built on GitHub and hosted as GitHub release artifacts.

Example workflow

name: test suite
on: [push, pull_request]

jobs:
  doc:
    name: Documentation
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dtolnay/install@cargo-docs-rs
      - run: cargo docs-rs

Security

Binaries are cryptographically signed and verified using GitHub artifact attestation to establish the build's provenance, including the specific workflow file and workflow run that produced the artifact.

License

The scripts and documentation in this project are released under the MIT License.

About

Fast `cargo install` action using a GitHub-based binary cache

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Languages