From 42bcc8db6fcf513ee21f69c62566c8f6af34b1ec Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 28 Apr 2024 07:40:11 -0400 Subject: [PATCH] Add libunshield to the CI, make sure to enable all features when building --- .github/workflows/main.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 176c800..0ce0052 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,12 +23,26 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/cache@v4 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + target/ + key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install \ + libunshield-dev \ - name: Build - run: cargo build --verbose + run: cargo build --all-features --verbose - name: Run tests - run: cargo test --verbose + run: cargo test --all-features --verbose - name: Run clippy - run: cargo clippy + run: cargo clippy --all-features - name: Run deny-check run: | cargo install --locked cargo-deny