Update rustls to address RUSTSEC-2024-0399 #1054
Workflow file for this run
This file contains 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
## | |
# This GitHub Action is using cargo-audit to perform an audit for crates with security vulnerabilities. | |
# https://github.com/rustsec/audit-check | |
## | |
name: Rustsec Cargo Audit | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- "**/Cargo.toml" | |
- "**/Cargo.lock" | |
schedule: | |
- cron: "40 13 * * 0" | |
jobs: | |
security_audit: | |
runs-on: ${{ fromJson(github.repository_owner == 'autonomys' && '["self-hosted", "ubuntu-22.04-x86-64"]' || '"ubuntu-22.04"') }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: rustsec/audit-check@69366f33c96575abad1ee0dba8212993eecbe998 #v2.0.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# TODO: Remove once Substrate upgrades litep2p and we no longer have rustls 0.20.9 in our dependencies | |
ignore: RUSTSEC-2024-0336 |