diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 267bf46..e8aaf42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,11 +3,14 @@ name: MBLF CI on: [push] jobs: - build: + build_and_format_and_test: + name: Rust project runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: icepuma/rust-action@master + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 with: - args: cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test + toolchain: stable + - run: cargo build --release + - run: cargo clippy -- -Dwarnings + - run: cargo test