Run cargo clippy in sqlx online mod on CI
@@ -31,7 +31,8 @@ jobs:
zksync db-setup # So database will be created for compilation.
zksync dummy-prover ensure-disabled
cargo fmt --all -- --check
- cargo clippy --tests --benches -- -D warnings
+ # For some reason, `cargo clippy` currently doesn't work in sqlx offline mod. So, we're checking it in online mode.
+ DATABASE_URL=postgres://postgres@localhost/plasma cargo clippy --tests --benches -- -D warnings
pushd sdk/zksync-crypto
cargo fmt -- --check
cargo clippy --all --tests --benches -- -D warnings
