From 4928dc591be245f742526a17dd5e1730f3040916 Mon Sep 17 00:00:00 2001 From: Wilfried Chauveau Date: Wed, 1 Jul 2020 22:40:46 +0100 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3c13d1b..7544b1f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,13 +10,20 @@ env: CARGO_TERM_COLOR: always jobs: - build: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - run: rustup component add clippy fmt + - name: Check fmt + run: cargo fmt -- --check + - uses: actions-rs/clippy-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --all-features - name: Build - run: cargo build --verbose + run: cargo build - name: Run tests - run: cargo test --verbose + run: cargo test