Rust audit #1648
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: Rust audit | |
on: | |
schedule: | |
- cron: '0 2 * * *' # run at 2 AM UTC | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install cargo-audit | |
run: cargo install --force cargo-audit | |
- name: Generate lockfile | |
run: cargo generate-lockfile | |
- name: Perform audit | |
run: cargo audit |