From 5edbff02a7bf845254c639b24cf38b89a390db59 Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Tue, 6 Feb 2024 09:28:51 +0000 Subject: [PATCH] actions: add cargo test --- .github/workflows/check.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 4a215b8..1b9a67f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -7,7 +7,14 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - - run: cargo build --all-features + - run: cargo build --target x86_64-unknown-linux-gnu + test: + name: cargo test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - run: cargo test --target x86_64-unknown-linux-gnu clippy: name: cargo clippy runs-on: ubuntu-latest @@ -16,8 +23,8 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: components: clippy - - run: cargo clippy --all-features - rustfmt: + - run: cargo clippy --target x86_64-unknown-linux-gnu + fmt: name: cargo fmt runs-on: ubuntu-latest steps: