Skip to content

Commit

Permalink
ci: add auditing and fix cve
Browse files Browse the repository at this point in the history
  • Loading branch information
bconn98 committed Nov 30, 2023
1 parent de3d6c8 commit f815cef
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,27 @@ jobs:
- name: Rotation with backgrounded rotation
run: cargo bench --features gzip,background_rotation

cargo-audit:
name: Audit the baseline for CVEs
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@master

- name: Install Rust toolchain
run: |
rustup toolchain install --no-self-update stable
rustup default stable
- name: Install Auditting Tools
run: cargo install cargo-audit

- name: Build all features
run: cargo build --all-features

- name: Audit baseline
run: cargo audit

docs-lint:
name: Lint
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ harness = false

[dependencies]
arc-swap = "1.6"
chrono = { version = "0.4", optional = true }
chrono = { version = "0.4", optional = true, features = ["clock"], default-features = false }
flate2 = { version = "1.0", optional = true }
fnv = "1.0"
humantime = { version = "2.1", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fn main() {

## Rust Version Requirements

1.60
1.67

## Building for Dev

Expand Down

0 comments on commit f815cef

Please sign in to comment.