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:
|
stages:
|
||||||
- lint
|
- lint
|
||||||
- build
|
- build
|
||||||
- test
|
|
||||||
- version
|
- version
|
||||||
|
- test
|
||||||
|
|
||||||
# TEMPLATE
|
# TEMPLATE
|
||||||
.cargo-build:
|
.cargo-build:
|
||||||
|
@ -62,10 +62,28 @@ build-stable:
|
||||||
build-msrv:
|
build-msrv:
|
||||||
extends: build-stable
|
extends: build-stable
|
||||||
image: "rust:1.43.0"
|
image: "rust:1.43.0"
|
||||||
|
cache:
|
||||||
|
key: msrv
|
||||||
|
paths:
|
||||||
|
- target
|
||||||
|
- .cargo
|
||||||
|
|
||||||
build-nightly:
|
build-nightly:
|
||||||
extends: build-stable
|
extends: build-stable
|
||||||
image: "rustlang/rust:nightly"
|
image: "rustlang/rust:nightly"
|
||||||
|
cache:
|
||||||
|
key: nightly
|
||||||
|
paths:
|
||||||
|
- target
|
||||||
|
- .cargo
|
||||||
|
|
||||||
|
# VERSION
|
||||||
|
|
||||||
|
fif-version:
|
||||||
|
stage: version
|
||||||
|
needs: ["build-stable"]
|
||||||
|
script:
|
||||||
|
cargo run -- -V
|
||||||
|
|
||||||
# TEST
|
# TEST
|
||||||
|
|
||||||
|
@ -77,16 +95,18 @@ test-msrv:
|
||||||
extends: test-stable
|
extends: test-stable
|
||||||
image: "rust:1.43.0"
|
image: "rust:1.43.0"
|
||||||
needs: ["build-msrv"]
|
needs: ["build-msrv"]
|
||||||
|
cache:
|
||||||
|
key: msrv
|
||||||
|
paths:
|
||||||
|
- target
|
||||||
|
- .cargo
|
||||||
|
|
||||||
test-nightly:
|
test-nightly:
|
||||||
extends: test-stable
|
extends: test-stable
|
||||||
image: "rustlang/rust:nightly"
|
image: "rustlang/rust:nightly"
|
||||||
needs: ["build-nightly"]
|
needs: ["build-nightly"]
|
||||||
|
cache:
|
||||||
# VERSION
|
key: nightly
|
||||||
|
paths:
|
||||||
fif-version:
|
- target
|
||||||
stage: version
|
- .cargo
|
||||||
needs: ["build-stable"]
|
|
||||||
script:
|
|
||||||
cargo run -- -V
|
|
||||||
|
|
|
@ -30,10 +30,10 @@ use once_cell::sync::OnceCell;
|
||||||
use walkdir::{DirEntry, WalkDir};
|
use walkdir::{DirEntry, WalkDir};
|
||||||
|
|
||||||
use crate::findings::Findings;
|
use crate::findings::Findings;
|
||||||
|
use crate::findings::ScanError;
|
||||||
use crate::formats::{Format, PowerShell, Shell};
|
use crate::formats::{Format, PowerShell, Shell};
|
||||||
use crate::mime_db::MimeDb;
|
use crate::mime_db::MimeDb;
|
||||||
use crate::parameters::{OutputFormat, ScanOpts};
|
use crate::parameters::{OutputFormat, ScanOpts};
|
||||||
use crate::findings::ScanError;
|
|
||||||
use std::collections::BTreeSet;
|
use std::collections::BTreeSet;
|
||||||
|
|
||||||
mod findings;
|
mod findings;
|
||||||
|
|
Loading…
Reference in a new issue