[CI] Using recommended CI Cargo audit Github action and update serde (#70)

* [CI] Using recommended CI Github action

* [Crate] Update serde dependencies
This commit is contained in:
CosminPerRam 2023-07-10 17:09:22 +03:00 committed by GitHub
parent e207e8dc95
commit bf8c087b94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 6 deletions

14
.github/workflows/audit.yml vendored Normal file
View file

@ -0,0 +1,14 @@
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}

View file

@ -21,10 +21,6 @@ jobs:
run: cargo clippy --verbose
- name: Run Tests
run: cargo test --verbose
- name: Install Audit
run: cargo install cargo-audit
- name: Run Audit
run: cargo audit --deny warnings
- name: Install Formatting nightly
uses: actions-rs/toolchain@v1
with: