Security audit #193
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Security audit | |
| on: | |
| pull_request: | |
| paths: | |
| - "**/Cargo.toml" | |
| - "**/Cargo.lock" | |
| schedule: | |
| - cron: "0 0 * * *" | |
| permissions: {} | |
| jobs: | |
| security_audit: | |
| name: Cargo Audit | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| info: | |
| - { | |
| os: "ubuntu-latest", | |
| target: "x86_64-unknown-linux-gnu", | |
| cross: false, | |
| } | |
| runs-on: ${{ matrix.info.os }} | |
| permissions: | |
| issues: write # Open issue if impacted by a new cargo audit result | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5 | |
| with: | |
| persist-credentials: false | |
| - name: Run audit action to view any security issues | |
| uses: actions-rust-lang/audit@410bbe6de17ca06c0a60070cca18c88b485ca5a1 #v1.2.6 | |
| with: | |
| TOKEN: ${{ secrets.GITHUB_TOKEN }} | |