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