dependency-audit #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: dependency-audit | |
permissions: | |
contents: read | |
on: | |
push: | |
paths: | |
- "**/Cargo.toml" | |
- ".deny.toml" | |
schedule: | |
# Weekly, i.e. on Sunday at 13:37 UTC | |
- cron: "37 13 * * 0" | |
workflow_dispatch: | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate Cargo.lock | |
run: cargo generate-lockfile | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
with: | |
command: check | |
arguments: >- | |
--all-features | |
--locked |