mirror of
https://github.com/giraffate/clippy-action.git
synced 2024-11-21 15:39:32 +01:00
Update action.yml
This commit is contained in:
parent
a918fdd31f
commit
c5faef35dd
1 changed files with 9 additions and 6 deletions
15
action.yml
15
action.yml
|
@ -1,11 +1,18 @@
|
||||||
name: 'Run Clippy with reviewdog'
|
name: 'Run Clippy with reviewdog'
|
||||||
description: 'Provide a description here'
|
description: '🐶 Run Clippy with reviewdog on pull requests to improve code review experience'
|
||||||
author: 'Your name or organization here'
|
author: 'Takayuki Nakata'
|
||||||
|
branding:
|
||||||
|
icon: "check-circle"
|
||||||
|
color: "blue"
|
||||||
inputs:
|
inputs:
|
||||||
github_token:
|
github_token:
|
||||||
description: "GITHUB_TOKEN."
|
description: "GITHUB_TOKEN."
|
||||||
required: true
|
required: true
|
||||||
default: ${{ github.token }}
|
default: ${{ github.token }}
|
||||||
|
clippy_flags:
|
||||||
|
description: "clippy flags. (cargo clippy --color never -q --message-format json `<clippy_flags>`)"
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
tool_name:
|
tool_name:
|
||||||
description: "Tool name to use for reviewdog reporter"
|
description: "Tool name to use for reviewdog reporter"
|
||||||
required: false
|
required: false
|
||||||
|
@ -42,10 +49,6 @@ inputs:
|
||||||
description: "the version of reviewdog"
|
description: "the version of reviewdog"
|
||||||
required: false
|
required: false
|
||||||
default: latest
|
default: latest
|
||||||
cache:
|
|
||||||
deprecation: "enable cache"
|
|
||||||
default: true
|
|
||||||
required: false
|
|
||||||
runs:
|
runs:
|
||||||
using: 'node16'
|
using: 'node16'
|
||||||
main: 'dist/index.js'
|
main: 'dist/index.js'
|
||||||
|
|
Loading…
Reference in a new issue