rustypaste-pretty/.github/workflows/audit.yml
2021-11-07 16:16:46 +03:00

23 lines
495 B
YAML

name: Security Audit
on:
schedule:
- cron: "0 0 * * 0"
jobs:
audit:
name: Audit
runs-on: ubuntu-20.04
steps:
- name: Checkout the repository
uses: actions/checkout@master
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Run cargo-audit
uses: actions-rs/audit-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}