Skip to content

Commit

Permalink
Security audit (#25)
Browse files Browse the repository at this point in the history
# Pull Request

<!-- Provide a general summary of your changes in the title above -->
<!-- Optional fields can be removed if not applicable -->

## Description

Add security audit and remove `chrono` depencency


## Checklist

- [x] I have self-reviewed my code
- [x] Code follows project's style guidelines
- [x] Tests added and passing
- [x] Documentation updated (if needed)
  • Loading branch information
Yag000 authored Aug 30, 2023
2 parents f1f442b + 89fd726 commit f4cca27
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 87 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Security audit
on:
schedule:
- cron: "0 0 * * *"
push:
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/install-action@cargo-deny
- name: Scan for vulnerabilities
run: cargo deny check advisories
86 changes: 0 additions & 86 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ path = "src/lib.rs"
clap = "4.3.11"
clap_derive = "4.3.2"
criterion = "0.5.1"
chrono = "0.4.26"
byteorder = "1.4.3"
num-derive = "0.4.0"
num-traits = "0.2.16"
Expand Down

0 comments on commit f4cca27

Please sign in to comment.