Files
2026-07-13 11:29:54 +02:00

66 lines
1.7 KiB
YAML

name: "cargo-deny"
description: "Help manage Cargo crate dependencies and validate licenses"
author: "Embark Studios"
branding:
icon: "slash"
color: "red"
inputs:
command:
description: "The command to run with cargo-deny"
required: false
default: "check"
arguments:
description: "The arguments to pass to cargo-deny"
required: false
default: "--all-features"
command-arguments:
description: "The arguments to pass to the command"
required: false
default: ""
manifest-path:
description: "Repo root relative path to the Cargo manifest to check"
required: false
default: "./Cargo.toml"
log-level:
description: "The log level for cargo-deny"
required: false
default: "warn"
rust-version:
description: "The Rust version that is updated to before running cargo deny"
required: false
default: ""
credentials:
description: "The git credentials for credential.helper store using github username and github's private access token (PAT)"
required: false
default: ""
ssh-key:
description: "Set the used ssh key"
required: false
default: ""
ssh-known-hosts:
description: "Set ssh known hosts"
required: false
default: ""
use-git-cli:
description: "Deprecated, this has no effect"
required: false
default: "false"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.rust-version }}
- ${{ inputs.credentials }}
- ${{ inputs.ssh-key }}
- ${{ inputs.ssh-known-hosts }}
- --log-level
- ${{ inputs.log-level }}
- --manifest-path
- ${{ inputs.manifest-path }}
- ${{ inputs.arguments }}
- ${{ inputs.command }}
- ${{ inputs.command-arguments }}