Merge commit '8f9ac9c22d
' into sync_cg_clif-2023-08-09
This commit is contained in:
commit
37751893cc
20 changed files with 194 additions and 110 deletions
19
compiler/rustc_codegen_cranelift/.github/workflows/audit.yml
vendored
Normal file
19
compiler/rustc_codegen_cranelift/.github/workflows/audit.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: Security audit
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 10 * * 1' # every monday at 10:00 UTC
|
||||
permissions:
|
||||
issues: write
|
||||
checks: write
|
||||
jobs:
|
||||
audit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: |
|
||||
sed -i 's/components.*/components = []/' rust-toolchain
|
||||
echo 'profile = "minimal"' >> rust-toolchain
|
||||
- uses: rustsec/audit-check@v1.4.1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue