This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
Security audit #342
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
name: Security audit | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
paths: | |
- 'Cargo.toml' | |
- 'Cargo.lock' | |
jobs: | |
security_audit: | |
runs-on: zondax-runners | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y curl build-essential | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
# - uses: EmbarkStudios/cargo-deny-action@v1 | |
- name: Install cargo-deny | |
run: cargo install --locked cargo-deny | |
- name: Scan for vulnerabilities | |
run: cargo deny check advisories |