Skip to content

#230

#230 #5

Workflow file for this run

# SPDX-FileCopyrightText: 2022-2025 Objectionary.com
# SPDX-License-Identifier: MIT
name: cargo-deny
on: [push, pull_request]
jobs:
cargo-deny:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v5
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Install cargo-deny
run: cargo install --locked cargo-deny@0.18.0
- name: Run cargo-deny
run: cargo deny check --all-features