Test / build (push) Failing after 7s
* Upgrade cargo-deny 0.6.8 -> 0.7.3 Bump the Cargo deny version to 0.7.3. Update the tests to use --manifest path instead of the now removed --context option. * Add optional input arguments, default --all-features Add a new optional input to the action named arguments, that can be used to pass a custom set of arguments to cargo-deny. The default for arguments is to pass in --all-features, which for cargo-deny 0.7 runs the same behaviour as cargo-deny 0.6 did. Updated README to reflect the changes. Co-authored-by: Jake Shadle <[email protected]>
31 lines
655 B
YAML
31 lines
655 B
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"
|
|
log-level:
|
|
description: "The log level for cargo-deny"
|
|
required: false
|
|
default: "warn"
|
|
|
|
runs:
|
|
using: "docker"
|
|
image: "Dockerfile"
|
|
args:
|
|
- --log-level
|
|
- ${{ inputs.log-level }}
|
|
- ${{ inputs.arguments }}
|
|
- ${{ inputs.command }}
|