-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathaction.yml
More file actions
55 lines (47 loc) · 1.41 KB
/
action.yml
File metadata and controls
55 lines (47 loc) · 1.41 KB
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
46
47
48
49
50
51
52
53
54
55
name: 'Laravel Pint'
description: 'Laravel Pint is an opinionated PHP code style fixer for minimalists.'
author: 'Agli Panci <agli.panci@gmail.com>'
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
onlyDiff:
description: "only format changed files that differ from the provided branch"
required: false
parallel:
description: "run Pint in parallel mode (requires Pint >= 1.23)"
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.onlyDiff }}
- ${{ inputs.parallel }}
- ${{ inputs.pint-version }}
- ${{ inputs.use-composer }}
branding:
icon: 'eye'
color: 'gray-dark'