From fdbe187c91b2e4c6815c55004758a45a9c85acbc Mon Sep 17 00:00:00 2001 From: Salzian Date: Thu, 23 Nov 2023 01:48:01 +0100 Subject: [PATCH] Run CI only on lib and examples code --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc2a4d9..617cef6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: uses: ./.github/actions/setup-cache-action - name: Compile project - run: cargo build --all-targets --all-features + run: cargo build --all-features --lib --examples # This job is currently disabled because it requires the FMOD libraries to be present. # We will revisit this once we actually have any tests. @@ -76,4 +76,4 @@ jobs: uses: ./.github/actions/setup-cache-action - name: Lint with clippy - run: cargo clippy --all-targets --all-features -- -D warnings + run: cargo clippy --all-targets --lib --examples -- -D warnings