This is an automated email from the ASF dual-hosted git repository.
dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/master by this push:
new 60e2da3 AVRO-3199 Try to run Rust audit checks
60e2da3 is described below
commit 60e2da37f103868c5b776eaa22e7de6c41a7cf00
Author: Martin Tzvetanov Grigorov <[email protected]>
AuthorDate: Fri Sep 10 15:08:56 2021 +0300
AVRO-3199 Try to run Rust audit checks
---
.github/workflows/test-lang-rust-audit.yml | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/test-lang-rust-audit.yml
b/.github/workflows/test-lang-rust-audit.yml
index ee3fe47..efb3f1e 100644
--- a/.github/workflows/test-lang-rust-audit.yml
+++ b/.github/workflows/test-lang-rust-audit.yml
@@ -29,7 +29,7 @@ on:
defaults:
run:
- working-directory: lang/rust # Currently does not work. See
https://github.com/actions-rs/audit-check/issues/194
+ working-directory: lang/rust
jobs:
audit:
@@ -37,7 +37,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- - name: Rust Audit
- uses: actions-rs/audit-check@v1
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
+ # Currently does not work. See
https://github.com/actions-rs/audit-check/issues/194
+ #- name: Rust Audit
+ # uses: actions-rs/audit-check@v1
+ # with:
+ # token: ${{ secrets.GITHUB_TOKEN }}
+ # Install it manually
+ - name: Install Cargo Audit
+ run: cargo install cargo-audit
+ - name: Audit
+ run: cargo audit