merge webUI changes, fmt
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
64efb0de27
2 changed files with 30 additions and 10 deletions
|
@ -16,8 +16,8 @@ default:
|
|||
stages:
|
||||
- lint
|
||||
- build
|
||||
- test
|
||||
- version
|
||||
- test
|
||||
|
||||
# TEMPLATE
|
||||
.cargo-build:
|
||||
|
@ -62,10 +62,28 @@ build-stable:
|
|||
build-msrv:
|
||||
extends: build-stable
|
||||
image: "rust:1.43.0"
|
||||
cache:
|
||||
key: msrv
|
||||
paths:
|
||||
- target
|
||||
- .cargo
|
||||
|
||||
build-nightly:
|
||||
extends: build-stable
|
||||
image: "rustlang/rust:nightly"
|
||||
cache:
|
||||
key: nightly
|
||||
paths:
|
||||
- target
|
||||
- .cargo
|
||||
|
||||
# VERSION
|
||||
|
||||
fif-version:
|
||||
stage: version
|
||||
needs: ["build-stable"]
|
||||
script:
|
||||
cargo run -- -V
|
||||
|
||||
# TEST
|
||||
|
||||
|
@ -77,16 +95,18 @@ test-msrv:
|
|||
extends: test-stable
|
||||
image: "rust:1.43.0"
|
||||
needs: ["build-msrv"]
|
||||
cache:
|
||||
key: msrv
|
||||
paths:
|
||||
- target
|
||||
- .cargo
|
||||
|
||||
test-nightly:
|
||||
extends: test-stable
|
||||
image: "rustlang/rust:nightly"
|
||||
needs: ["build-nightly"]
|
||||
|
||||
# VERSION
|
||||
|
||||
fif-version:
|
||||
stage: version
|
||||
needs: ["build-stable"]
|
||||
script:
|
||||
cargo run -- -V
|
||||
cache:
|
||||
key: nightly
|
||||
paths:
|
||||
- target
|
||||
- .cargo
|
||||
|
|
|
@ -30,10 +30,10 @@ use once_cell::sync::OnceCell;
|
|||
use walkdir::{DirEntry, WalkDir};
|
||||
|
||||
use crate::findings::Findings;
|
||||
use crate::findings::ScanError;
|
||||
use crate::formats::{Format, PowerShell, Shell};
|
||||
use crate::mime_db::MimeDb;
|
||||
use crate::parameters::{OutputFormat, ScanOpts};
|
||||
use crate::findings::ScanError;
|
||||
use std::collections::BTreeSet;
|
||||
|
||||
mod findings;
|
||||
|
|
Loading…
Reference in a new issue