2020-10-01 07:52:45 +00:00
|
|
|
name: cargo-audit
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- "**/Cargo.toml"
|
|
|
|
- "**/Cargo.lock"
|
|
|
|
pull_request:
|
2020-10-01 08:43:10 +00:00
|
|
|
schedule:
|
|
|
|
- cron: "0 0 * * *"
|
2020-10-01 07:52:45 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
audit:
|
2020-10-26 19:55:02 +00:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, windows-latest]
|
2020-10-01 07:52:45 +00:00
|
|
|
steps:
|
2020-10-01 08:43:10 +00:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions-rs/audit-check@v1
|
2020-10-01 07:52:45 +00:00
|
|
|
with:
|
2020-12-09 22:07:40 +00:00
|
|
|
args: --color=always
|
2020-10-01 07:52:45 +00:00
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|