rustypaste-pretty/.github/workflows/audit.yml
2023-05-11 00:40:08 +03:00

23 lines
495 B
YAML

name: Security Audit
on:
schedule:
- cron: "0 0 * * 0"
jobs:
audit:
name: Audit
runs-on: ubuntu-22.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 }}