Audit #8
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: Audit | |
on: | |
push: {} | |
pull_request: {} | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
vulnerabilities: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hecrj/setup-rust-action@v1 | |
- name: Install cargo-audit | |
run: cargo install cargo-audit | |
- uses: actions/checkout@master | |
- name: Resolve dependencies | |
run: cargo update | |
- name: Audit vulnerabilities | |
run: cargo audit | |
artifacts: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hecrj/setup-rust-action@v1 | |
- name: Install cargo-outdated | |
run: cargo install cargo-outdated | |
- uses: actions/checkout@master | |
- name: Delete `web-sys` dependency from `integration` example | |
run: sed -i '$d' examples/integration/Cargo.toml | |
- name: Find outdated dependencies | |
run: cargo outdated --workspace --exit-code 1 |