Skip to content

Update discro dependency #68

Update discro dependency

Update discro dependency #68

Workflow file for this run

# SPDX-FileCopyrightText: The djio authors
# SPDX-License-Identifier: CC0-1.0
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
# Same as file name
name: security-audit
permissions:
contents: read
on:
push:
paths:
- "**/Cargo.toml"
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
- name: Install cargo-audit
run: cargo install cargo-audit
- uses: actions/checkout@v4
- name: Generate Cargo.lock
run: cargo generate-lockfile
- name: Cache Rust toolchain and build artifacts
uses: Swatinem/rust-cache@v2
with:
# The cache should not be shared between different workflows and jobs.
shared-key: ${{ github.workflow }}-${{ github.job }}
- name: Run security audit
run: cargo audit --deny unsound --deny yanked