2019-01-25 22:47:25 +00:00
|
|
|
# Rust Github Action
|
|
|
|
|
|
|
|
'Silverbullet' for a quickstart Rust CI based upon [Github Actions](https://developer.github.com/actions/)
|
|
|
|
|
2019-01-25 23:56:40 +00:00
|
|
|
*What's inside the "box":*
|
2019-01-25 22:47:25 +00:00
|
|
|
|
2019-08-18 17:08:29 +00:00
|
|
|
* Rust 1.37.0
|
2019-01-25 22:47:25 +00:00
|
|
|
* Rustfmt
|
|
|
|
* Clippy
|
|
|
|
* Cargo Release
|
2019-05-13 17:41:03 +00:00
|
|
|
* cmake - Thanks @ [bwasty](https://github.com/bwasty)
|
2019-01-25 22:47:25 +00:00
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
workflow "Quickstart" {
|
|
|
|
on = "push"
|
|
|
|
resolves = ["Quickstart"]
|
|
|
|
}
|
|
|
|
|
|
|
|
action "Quickstart" {
|
2019-01-28 10:22:29 +00:00
|
|
|
uses = "icepuma/rust-action@master"
|
2019-01-25 23:42:52 +00:00
|
|
|
args = "cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test"
|
2019-01-25 22:47:25 +00:00
|
|
|
}
|
|
|
|
```
|