espup/.github/workflows/audit.yaml
Sergio Gasquez Arcos 7a0d827db1
Prepare 0.14.1 release (#483)
* build: Bump dependencies

* docs: Update changelog

* feat: Update ubuntu runners

* feat: Bump msrv

* fix: Clippy lint
2025-03-04 16:02:42 +01:00

34 lines
659 B
YAML

name: Security audit
on:
schedule:
# Runs at 00:00 UTC everyday
- cron: "0 0 * * *"
push:
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
pull_request:
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
env:
CARGO_TERM_COLOR: always
jobs:
audit:
name: Security audit
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- uses: rustsec/audit-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}