commit
3e74859822
|
@ -0,0 +1,33 @@
|
||||||
|
[advisories]
|
||||||
|
ignore = [
|
||||||
|
# title: term is looking for a new maintainer
|
||||||
|
# why needed: used by `prettytable-rs` which is directly used by IOx but also by arrow
|
||||||
|
# upstream issue: https://github.com/phsym/prettytable-rs/issues/119
|
||||||
|
"RUSTSEC-2018-0015",
|
||||||
|
|
||||||
|
# title: memmap is unmaintained
|
||||||
|
# why needed: used by `symbolic` which is used by `pprof`
|
||||||
|
# upstream issue: https://github.com/getsentry/symbolic/issues/304
|
||||||
|
"RUSTSEC-2020-0077",
|
||||||
|
|
||||||
|
# title: difference is unmaintained
|
||||||
|
# why needed: used by `mockito`
|
||||||
|
# upstream issue: https://github.com/lipanski/mockito/issues/132
|
||||||
|
"RUSTSEC-2020-0095",
|
||||||
|
]
|
||||||
|
|
||||||
|
[output]
|
||||||
|
deny = [
|
||||||
|
"unmaintained",
|
||||||
|
"unsound",
|
||||||
|
"yanked",
|
||||||
|
]
|
||||||
|
quiet = false
|
||||||
|
|
||||||
|
[yanked]
|
||||||
|
# interaction of workspace-local crates and crates.io is currently broken (e.g. for `query`)
|
||||||
|
# see https://github.com/rustsec/rustsec/issues/232
|
||||||
|
enabled = false
|
||||||
|
|
||||||
|
# currently broken on CircleCI due to https://github.com/rustsec/rustsec/issues/292
|
||||||
|
update_index = false
|
|
@ -89,6 +89,26 @@ jobs:
|
||||||
name: Clippy
|
name: Clippy
|
||||||
command: cargo clippy --all-targets --workspace -- -D warnings
|
command: cargo clippy --all-targets --workspace -- -D warnings
|
||||||
- cache_save
|
- cache_save
|
||||||
|
cargo_audit:
|
||||||
|
docker:
|
||||||
|
- image: quay.io/influxdb/rust:ci
|
||||||
|
environment:
|
||||||
|
# Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
|
||||||
|
CARGO_INCREMENTAL: "0"
|
||||||
|
# Disable full debug symbol generation to speed up CI build
|
||||||
|
# "1" means line tables only, which is useful for panic tracebacks.
|
||||||
|
RUSTFLAGS: "-C debuginfo=1"
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- rust_components
|
||||||
|
- cache_restore
|
||||||
|
- run:
|
||||||
|
name: Install Cargo Audit
|
||||||
|
command: cargo install --force cargo-audit
|
||||||
|
- run:
|
||||||
|
name: Cargo Audit
|
||||||
|
command: cargo audit
|
||||||
|
- cache_save
|
||||||
doc:
|
doc:
|
||||||
docker:
|
docker:
|
||||||
- image: quay.io/influxdb/rust:ci
|
- image: quay.io/influxdb/rust:ci
|
||||||
|
@ -383,6 +403,7 @@ workflows:
|
||||||
jobs:
|
jobs:
|
||||||
- fmt
|
- fmt
|
||||||
- lint
|
- lint
|
||||||
|
- cargo_audit
|
||||||
- protobuf-lint
|
- protobuf-lint
|
||||||
- test
|
- test
|
||||||
- test_heappy
|
- test_heappy
|
||||||
|
@ -406,6 +427,10 @@ workflows:
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only: main
|
only: main
|
||||||
|
- cargo_audit:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only: main
|
||||||
- test:
|
- test:
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
|
@ -421,6 +446,7 @@ workflows:
|
||||||
requires: # Only do a release build if all tests have passed
|
requires: # Only do a release build if all tests have passed
|
||||||
- fmt
|
- fmt
|
||||||
- lint
|
- lint
|
||||||
|
- cargo_audit
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue