Skip to content

Commit

Permalink
Adding rust audit. (#1099)
Browse files Browse the repository at this point in the history
* Adding rust audit.

* Update clap version + derive_builder (they clashed).

* Ignoring specific CVE which can be ignored

Azure/iot-identity-service#481

* Updating python lock.

* Revert `derive-builder` update.

* Adding back help msg.
  • Loading branch information
Narsil committed Nov 9, 2022
1 parent 99c06c8 commit bbae829
Show file tree
Hide file tree
Showing 6 changed files with 967 additions and 835 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/python.yml
Expand Up @@ -95,6 +95,14 @@ jobs:
command: clippy
args: --manifest-path ./bindings/python/Cargo.toml --all-targets --all-features -- -D warnings

- name: Run Audit
uses: actions-rs/cargo@v1
with:
command: audit
# ignoring specific CVE which probably isn't affecting this crate
# https://github.com/chronotope/chrono/issues/602
args: -D warnings -f ./bindings/python/Cargo.lock --ignore RUSTSEC-2020-0071

- name: Install
working-directory: ./bindings/python
run: |
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/rust.yml
Expand Up @@ -81,6 +81,14 @@ jobs:
command: test
args: --verbose --manifest-path ./tokenizers/Cargo.toml --doc

- name: Run Audit
uses: actions-rs/cargo@v1
with:
command: audit
# ignoring specific CVE which probably isn't affecting this crate
# https://github.com/chronotope/chrono/issues/602
args: -D warnings -f ./tokenizers/Cargo.lock --ignore RUSTSEC-2020-0071

# Verify that Readme.md is up to date.
- name: Make sure, Readme generated from lib.rs matches actual Readme
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit bbae829

Please sign in to comment.