-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
33 lines (31 loc) · 911 Bytes
/
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
name: 'rustfmt-check'
description: 'Run rustfmt and annotate the diff with expected codes'
author: 'Mitama Lab'
branding:
icon: play-circle
color: blue
inputs:
token:
description: GitHub token
required: true
toolchain:
description: Rust toolchain to use
default: nightly
flags:
description: Flags for the cargo command
required: false
options:
description: Options for the cargo command
required: false
args:
description: Arguments for the rustfmt command
required: false
name:
description: Display name of the created GitHub check. Must be unique across several LoliGothick/rustfmt-check invocations.
default: rustfmt
working-directory:
description: working directory where to execute `cargo fmt`
default: .
runs:
using: 'node20'
main: 'dist/index.js'