3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2025-01-31 07:01:20 +01:00

Update example workflow

This commit is contained in:
David Tolnay 2025-01-26 14:23:17 -08:00
parent 1ad705d14f
commit cedec357fc
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -10,24 +10,16 @@ name: test suite
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
expand: doc:
name: cargo expand name: Documentation
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: dtolnay/install@master - uses: actions/checkout@v4
with: - uses: dtolnay/install@cargo-docs-rs
crate: cargo-expand - run: cargo docs-rs
- run: cargo expand --help
``` ```
<img src="https://user-images.githubusercontent.com/1940490/136493915-2c3c6a6b-620c-46e1-be4b-3c96856ccd12.png"> <img src="https://github.com/user-attachments/assets/4bfecd07-dadc-4ce3-be98-d98461251da5">
## Inputs
| Name | Required | Description |
| ------- | :------: | -------------------------------------------- |
| `crate` | ✓ | Name of crate as published to crates.io |
| `bin` | | Name of binary; default = same as crate name |
## Security ## Security