-
Notifications
You must be signed in to change notification settings - Fork 15
/
action.yml
45 lines (39 loc) · 1.14 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: 'Laravel Pint'
description: 'Laravel Pint is an opinionated PHP code style fixer for minimalists.'
author: 'Agli Panci <[email protected]>'
inputs:
testMode:
description: "would you like to run Pint on test mode"
required: false
verboseMode:
description: "would you like to run Pint on verbose mode"
required: false
configPath:
description: "specify the custom config path"
required: false
preset:
description: "pint preset"
required: false
onlyDirty:
description: "only format changed files"
required: false
pintVersion:
description: "laravel/pint composer version to install a specific version."
required: false
useComposer:
description: "Use Laravel Pint version from project composer lock file. Lock file must be preset to use this flag."
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.test-mode }}
- ${{ inputs.verbose-mode }}
- ${{ inputs.config-path }}
- ${{ inputs.preset }}
- ${{ inputs.only-dirty }}
- ${{ inputs.pint-version }}
- ${{ inputs.use-composer }}
branding:
icon: 'eye'
color: 'gray-dark'