hook pthread_mutex_lock/pthread_mutex_unlock on Linux/non-macOS Unix #514
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: Pull Request Security Audit | |
| on: | |
| push: | |
| paths: | |
| - '**/Cargo.toml' | |
| pull_request: | |
| paths: | |
| - '**/Cargo.toml' | |
| jobs: | |
| security-audit: | |
| runs-on: ubuntu-latest | |
| if: "!contains(github.event.head_commit.message, 'ci skip')" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install cargo-audit | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: install | |
| args: cargo-audit | |
| - name: Generate lockfile | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: generate-lockfile | |
| - name: Audit dependencies | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: audit |