2019-01-25 22:47:25 +00:00
# Rust Github Action
2022-10-17 18:39:11 +00:00
:warning: I'm looking for a person, who would like to take over this GitHub action. If you're the person, contact me [here ](https://github.com/icepuma/rust-action/issues/2 ). :warning:
2019-01-25 22:47:25 +00:00
'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
2022-11-03 14:58:30 +00:00
* Rust 1.65.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
2019-11-08 23:48:03 +00:00
In a file inside `.github/workflows/quickstart.yml`
```yaml
name: Rust Example
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: icepuma/rust-action@master
with:
args: cd integration-test & & cargo fmt -- --check & & cargo clippy -- -Dwarnings & & cargo test
2019-01-25 22:47:25 +00:00
```