NOTE: This is a fork of https://github.com/dtolnay/install to include packages needed by Stackable
This GitHub Action installs a Rust crate using precompiled signed binaries built on GitHub and hosted as GitHub release artifacts.
name: test suite
on: [push, pull_request]
jobs:
expand:
name: cargo udeps
runs-on: ubuntu-latest
steps:
- uses: stackabletech/install@master
with:
crate: cargo-expand
- run: cargo expand --help| Name | Required | Description |
|---|---|---|
crate |
✓ | Name of crate as published to crates.io |
bin |
Name of binary; default = same as crate name |
You need a GPG key without a passphrase!
Here's how you can remove a passphrase from an existing key: https://superuser.com/questions/1360324/gpg-remove-passphrase
gpg --output private.gpg --armor --export-secret-key github.com/stackabletech/cargo-install-action
Unless you're setting up an entirely new branch, work in the main branch.
When you make changes you can later run the scripts/rebase.sh script with the name of a branch to update.
For example:
scripts/rebase.sh cargo-udepsThe scripts and documentation in this project are released under the MIT License.
