From cfb7628c8f79b4607138a82c7db983bf30489024 Mon Sep 17 00:00:00 2001 From: MaxXSoft Date: Sat, 30 Nov 2024 11:04:56 +0800 Subject: [PATCH] (build-test) updated GitHub workflow configurations --- .github/workflows/build-test.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 9650344..04e842d 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -17,13 +17,13 @@ jobs: uses: actions/checkout@v2 - name: Build - run: cargo check && cargo check --features no-front-logger + run: cargo check && cargo check --all-features - name: Clippy - run: cargo clippy --all-targets --all-features -- -D warnings + run: cargo clippy --all-targets -- -D warnings && cargo clippy --all-targets --all-features -- -D warnings - name: Test - run: cargo test --all-features + run: cargo test && cargo test --all-features build_examples: name: Build Examples @@ -40,11 +40,11 @@ jobs: - name: Build working-directory: examples/${{matrix.example-name}} - run: cargo check + run: cargo check && cargo check --all-features - name: Clippy working-directory: examples/${{matrix.example-name}} - run: cargo clippy --all-targets --all-features -- -D warnings + run: cargo clippy --all-targets -- -D warnings && cargo clippy --all-targets --all-features -- -D warnings build_libkoopa: name: Build and Test Koopa C Library @@ -58,12 +58,12 @@ jobs: - name: Build working-directory: crates/libkoopa - run: cargo check + run: cargo check && cargo check --all-features - name: Clippy working-directory: crates/libkoopa - run: cargo clippy --all-targets --all-features -- -D warnings + run: cargo clippy --all-targets -- -D warnings && cargo clippy --all-targets --all-features -- -D warnings - name: Test working-directory: crates/libkoopa - run: cargo test --all-features + run: cargo test && cargo test --all-features