Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spenserblack/actions-msrv
Get the Minimum Supported Rust Version of your project
https://github.com/spenserblack/actions-msrv
actions cargo github-actions github-workflow hacktoberfest msrv rust
Last synced: about 1 month ago
JSON representation
Get the Minimum Supported Rust Version of your project
- Host: GitHub
- URL: https://github.com/spenserblack/actions-msrv
- Owner: spenserblack
- License: mit
- Created: 2021-10-26T19:44:06.000Z (about 3 years ago)
- Default Branch: dev
- Last Pushed: 2022-10-11T22:00:41.000Z (about 2 years ago)
- Last Synced: 2024-09-18T04:44:09.546Z (about 2 months ago)
- Topics: actions, cargo, github-actions, github-workflow, hacktoberfest, msrv, rust
- Language: Shell
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# actions-msrv
[![Publish Docker Image](https://github.com/spenserblack/actions-msrv/actions/workflows/publish.yml/badge.svg)](https://github.com/spenserblack/actions-msrv/actions/workflows/publish.yml)
Get the Minimum Supported Rust Version of your project
This is essentially a wrapper around [cargo-msrv](https://github.com/foresterre/cargo-msrv).
Many thanks to the maintainers of that crate!## Usage
### Basics
```yaml
steps:
- uses: actions/checkout@v2
- uses: spenserblack/actions-msrv@
id: get-msrv
- run: 'echo "MSRV is ${{ steps.get-msrv.outputs.msrv }}"'
```### Setting MSRV in `Cargo.toml`
```yaml
- uses: spenserblack/actions-msrv@
with:
set: true
```## [Examples](./examples/.github/workflows/examples.yml)
*__NOTE__ You might want to look up [reusable workflows][reusing wf docs]
to easily use the examples.*[reusing wf docs]: https://docs.github.com/en/actions/learn-github-actions/reusing-workflows