audit.yml 461 B

12345678910111213141516171819202122232425262728
  1. {{{{raw}}}}
  2. name: Audit
  3. on:
  4. schedule:
  5. - cron: '0 0 * * *'
  6. push:
  7. branches:
  8. - main
  9. paths:
  10. - "**/Cargo.lock"
  11. - "**/Cargo.toml"
  12. pull_request:
  13. branches:
  14. - main
  15. paths:
  16. - "**/Cargo.lock"
  17. - "**/Cargo.toml"
  18. jobs:
  19. audit:
  20. runs-on: ubuntu-latest
  21. steps:
  22. - uses: actions/checkout@v2
  23. - uses: actions-rs/audit-check@v1
  24. with:
  25. token: ${{ secrets.GITHUB_TOKEN }}
  26. {{{{/raw}}}}