mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 10:22:56 +00:00
Do cargo audit in CI
This commit is contained in:
@@ -158,6 +158,24 @@ jobs:
|
||||
paths:
|
||||
- "*"
|
||||
|
||||
check-zenith:
|
||||
executor: zenith-build-executor
|
||||
steps:
|
||||
- checkout
|
||||
|
||||
- restore_cache:
|
||||
name: Restore rust cache
|
||||
keys:
|
||||
- v03-rust-cache-deps-debug-{{ checksum "Cargo.lock" }}
|
||||
|
||||
# Look for security vulnerabilities in the advisory db
|
||||
# https://github.com/rustsec/advisory-db
|
||||
- run:
|
||||
name: Cargo audit
|
||||
command: |
|
||||
cargo install cargo-audit
|
||||
cargo audit
|
||||
|
||||
run-pytest:
|
||||
#description: "Run pytest"
|
||||
executor: python/default
|
||||
@@ -248,6 +266,9 @@ workflows:
|
||||
build_type: ["debug", "release"]
|
||||
requires:
|
||||
- build-postgres
|
||||
- check-zenith:
|
||||
requires:
|
||||
- build-zenith-debug
|
||||
- run-pytest:
|
||||
name: pg_regress tests << matrix.build_type >>
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user