forked from EmbarkStudios/cargo-deny-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
45 lines (42 loc) · 1.16 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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: ""
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: ""
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.rust-version }}
- ${{ inputs.credentials }}
- --log-level
- ${{ inputs.log-level }}
- ${{ inputs.arguments }}
- ${{ inputs.command }}
- ${{ inputs.command-arguments }}