Add advisory for i_triangle unsound triangle accessors #5008
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: Validate | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: main | |
| permissions: {} | |
| jobs: | |
| lint: | |
| name: Lint advisories | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Cache cargo bin | |
| id: admin-cache | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| with: | |
| path: ~/.cargo/bin | |
| key: rustsec-admin-0ca9edd637bced72d435a282199af47e727276d3 | |
| - name: Install rustsec-admin | |
| if: steps.admin-cache.outputs.cache-hit != 'true' | |
| run: cargo install --git https://github.com/rustsec/rustsec rustsec-admin --rev 0ca9edd637bced72d435a282199af47e727276d3 | |
| - name: Lint advisories | |
| run: rustsec-admin lint |