From cecf68905afcf255321d329fe10a9ce3595af4a3 Mon Sep 17 00:00:00 2001 From: Raymon Zutekouw <40148684+Raymonzut@users.noreply.github.com> Date: Fri, 7 Jan 2022 16:58:51 +0100 Subject: [PATCH] CI_GH: use actions-rs --- .github/workflows/ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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