2811f8f89b
This GH Action workflow runs integration tests on `push` and `pull_request` with the latest code of this `rust-action`. It does require neither a release nor a push to master to test the latest changes in this action. This workflow can be used as required test for a branch protection rule. |
||
---|---|---|
.github/workflows | ||
integration-test | ||
.gitignore | ||
action.yml | ||
Dockerfile | ||
entrypoint.sh | ||
LICENSE | ||
README.md |
Rust Github Action
'Silverbullet' for a quickstart Rust CI based upon Github Actions
What's inside the "box":
- Rust 1.70.0
- Rustfmt
- Clippy
- Cargo Release
- Cmake
Usage
In a file inside .github/workflows/quickstart.yml
name: Rust Example
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: mirlahiji/rust-action@master
with:
args: cd integration-test && cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test
Thanks to @ icepuma for handing over the project and @ bwasty for Cmake