-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
42 lines (40 loc) · 1.23 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
name: "clippy-check"
description: "Run clippy and annotate the diff with errors and warnings"
author: "Mitama Lab"
branding:
icon: play-circle
color: blue
inputs:
token:
description: GitHub token
required: true
toolchain:
description: Rust toolchain to use
default: stable
target:
description: Target to run clippy on
required: false
options:
description: Arguments for the `cargo clippy` command
required: false
warn:
description: Sequence of lint warnings (without `clippy::` prefix)
required: false
allow:
description: Sequence of lint allowed (without `clippy::` prefix)
required: false
deny:
description: Sequence of lint denied (without `clippy::` prefix)
required: false
forbid:
description: Sequence of lint forbidden (without `clippy::` prefix)
required: false
name:
description: Display name of the created GitHub check. Must be unique across several LoliGothick/clippy-check invocations.
default: clippy
working-directory:
description: working directory where to execute `cargo clippy`.
default: .
runs:
using: "node20"
main: "dist/index.js"