Skip to content

Prepare for v0.4.0 release #11

Prepare for v0.4.0 release

Prepare for v0.4.0 release #11

Workflow file for this run

name: Rust Security Audit
permissions:
contents: read
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
pull_request:
jobs:
audit:
strategy:
matrix:
os:
- ubuntu-latest
rust:
- stable
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
components: rustfmt
- name: Rust Version
run: rustc --version
- run: cargo install cargo-audit
- run: cargo generate-lockfile
- run: cargo audit --deny warnings