Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add auditing and fix cve #321

Merged
merged 3 commits into from
Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,24 @@ 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: Audit project
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