diff --git a/.forgejo/workflows/cargo_audit.yaml b/.forgejo/workflows/cargo_audit.yaml new file mode 100644 index 0000000..eae8340 --- /dev/null +++ b/.forgejo/workflows/cargo_audit.yaml @@ -0,0 +1,26 @@ +--- +name: Cargo Audit + +on: + push: + paths: + - 'Cargo.toml' + - 'Cargo.lock' + schedule: + # Frinday evening 18:20 + - cron: 20 18 0 0 5 + workflow_dispatch: + +env: + CARGO_TERM_COLOR: always + +jobs: + audit: + name: Audit + runs-on: docker + container: + image: codeberg.org/unobtanium/unobtanium-ci-builder:latest + steps: + - uses: https://codeberg.org/slatian/shell-ci-checkout@v1 + - run: cargo audit +