diff options
| author | David Lönnhager <david.l@mullvad.net> | 2021-04-20 09:11:32 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2021-04-20 15:41:18 +0200 |
| commit | 867572c0745204f589ff5913b23084becb1ed806 (patch) | |
| tree | 8763f3fbb40cd8373a19e7c8a2b6794d98cffe6f /.github/workflows | |
| parent | 86f3ef7c8de49253219346d2a8751a61eb4301ac (diff) | |
| download | mullvadvpn-867572c0745204f589ff5913b23084becb1ed806.tar.xz mullvadvpn-867572c0745204f589ff5913b23084becb1ed806.zip | |
Add CI job for auditing Cargo.lock files
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/cargo-audit.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/cargo-audit.yml b/.github/workflows/cargo-audit.yml new file mode 100644 index 0000000000..d308b0c83d --- /dev/null +++ b/.github/workflows/cargo-audit.yml @@ -0,0 +1,23 @@ +name: Audit Rust dependencies CI +on: + push: + paths: + - .github/workflows/cargo-audit.yml + - Cargo.lock + # Check if requested manually from the Actions tab + workflow_dispatch: +jobs: + audit: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Install cargo-audit + uses: actions-rs/install@v0.1.2 + with: + crate: cargo-audit + version: latest + + - name: Audit + run: cargo audit |
