Skip to content

v0.5.1

v0.5.1 #18

Workflow file for this run

---
name: Security
on:
push:
branches: [latest]
paths:
- Cargo.toml
- Cargo.lock
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
profile: minimal
- name: get cargo-audit the fast way
shell: bash
run: |
if [[ -z $(which cargo-audit) ]]; then
curl -sLo cargo-audit.tgz https://github.com/rustsec/rustsec/releases/download/cargo-audit%2Fv0.21.2/cargo-audit-x86_64-unknown-linux-gnu-v0.21.2.tgz
tar xfz cargo-audit.tgz
mv cargo-audit-x86_64-unknown-linux-gnu-v0.21.2/cargo-audit ~/.cargo/bin/cargo-audit
fi
- name: run cargo audit
shell: bash
run: cargo audit