Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 3 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,14 @@ jobs:
name: Audit Rust vulnerabilities
runs-on: ubuntu-latest
steps:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true

- name: Checkout repository
uses: actions/checkout@v2

- run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/

- name: Cache cargo
uses: actions/cache@v1
- uses: actions-rs/install@v0.1
with:
path: ~/.cargo/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
crate: cargo-audit
use-tool-cache: true

- run: cargo install cargo-audit
- run: cargo audit

rust:
Expand Down