From 9e33a961d0d8a4c981446da2ca67d2a77cf5ebb8 Mon Sep 17 00:00:00 2001 From: Aleksei Rybin <0xalekseirybin@gmail.com> Date: Sun, 3 Mar 2024 14:53:27 +0700 Subject: [PATCH] Added audit action --- .github/workflows/audit.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/audit.yml diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml new file mode 100644 index 0000000..e709d18 --- /dev/null +++ b/.github/workflows/audit.yml @@ -0,0 +1,16 @@ +name: Security audit +on: + push: + paths: + - "**/Cargo.toml" + - "**/Cargo.lock" + schedule: + - cron: "0 0 * * *" +jobs: + audit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions-rs/audit-check@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}