1919 steps :
2020 - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
2121 - name : Install system libraries
22- run : sudo apt-get update && sudo apt-get install -y libssl-dev
22+ run : sudo apt-get update && sudo apt-get install -y libssl-dev libpcsclite-dev
2323 - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
2424 with :
2525 components : rustfmt, clippy
@@ -28,18 +28,25 @@ jobs:
2828 run : cargo fmt --all -- --check
2929 - name : Clippy
3030 run : cargo clippy --workspace --all-targets -- -D warnings
31+ # The default workspace build leaves the hardware-backend features off, so
32+ # lint the piv/yubikey code paths and their tests explicitly.
33+ - name : Clippy (hardware backends)
34+ run : cargo clippy -p rite-stdlib --features piv,yubikey --all-targets -- -D warnings
3135
3236 test :
3337 name : Test
3438 runs-on : ubuntu-latest
3539 steps :
3640 - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
3741 - name : Install system libraries
38- run : sudo apt-get update && sudo apt-get install -y libssl-dev
42+ run : sudo apt-get update && sudo apt-get install -y libssl-dev libpcsclite-dev
3943 - uses : dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
4044 - uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
4145 - name : Test
4246 run : cargo test --workspace
47+ # piv/yubikey are off by default; run their action and backend tests.
48+ - name : Test (hardware backends)
49+ run : cargo test -p rite-stdlib --features piv,yubikey
4350
4451 msrv :
4552 # Verifies the MSRV floor declared on the library crates that are
0 commit comments