2021-11-17 21:12:40 +00:00
|
|
|
name: Security audit
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '**/Cargo.toml'
|
|
|
|
- '**/Cargo.lock'
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- '**/Cargo.toml'
|
|
|
|
- '**/Cargo.lock'
|
|
|
|
schedule:
|
|
|
|
- cron: '3 3 3 * *'
|
2022-08-27 22:32:00 +00:00
|
|
|
permissions: {} # none
|
2021-11-17 21:12:40 +00:00
|
|
|
jobs:
|
|
|
|
security_audit:
|
2022-08-27 22:32:00 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
2021-11-17 21:12:40 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2022-05-04 13:09:07 +00:00
|
|
|
uses: actions/checkout@v3
|
2021-11-17 21:12:40 +00:00
|
|
|
- uses: actions-rs/audit-check@v1
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|