mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Run 'cargo audit' in CI
This commit is contained in:
parent
29c81f61a2
commit
e29483318e
14
.github/workflows/rust.yml
vendored
14
.github/workflows/rust.yml
vendored
@ -3,6 +3,20 @@ name: electrs
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
audit:
|
||||
name: Audit
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/install@v0.1
|
||||
with:
|
||||
crate: cargo-audit
|
||||
version: 0.14.1
|
||||
use-tool-cache: true
|
||||
- uses: actions-rs/audit-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user