CI_GH: use actions-rs
This commit is contained in:
@@ -3,11 +3,14 @@ name: MBLF CI
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build_and_format_and_test:
|
||||||
|
name: Rust project
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
- uses: icepuma/rust-action@master
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
args: cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test
|
toolchain: stable
|
||||||
|
- run: cargo build --release
|
||||||
|
- run: cargo clippy -- -Dwarnings
|
||||||
|
- run: cargo test
|
||||||
|
|||||||
Reference in New Issue
Block a user