1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00

Run 'cargo audit' in CI

This commit is contained in:
Roman Zeyde 2021-09-19 22:20:38 +03:00
parent 29c81f61a2
commit e29483318e

View File

@ -3,6 +3,20 @@ name: electrs
on: [push, pull_request] on: [push, pull_request]
jobs: 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: build:
name: Build name: Build
runs-on: ubuntu-latest runs-on: ubuntu-latest