25 lines
506 B
YAML
25 lines
506 B
YAML
name: Security audit
|
|
|
|
on:
|
|
schedule:
|
|
# Runs at 00:00 UTC everyday
|
|
- cron: '0 0 * * *'
|
|
push:
|
|
paths:
|
|
- '../../../Cargo.toml'
|
|
- '../../../Cargo.lock'
|
|
pull_request:
|
|
{% raw %}
|
|
jobs:
|
|
audit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- uses: Swatinem/rust-cache@v2
|
|
- name: Run security audit
|
|
uses: rustsec/audit-check@v2.0.0
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
{% endraw %}
|