forked from AlvaroVasconcelos/run-dart-code-metrics-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
65 lines (62 loc) · 2.03 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: "Dart Code Metrics Action"
description: "A GitHub action to perform Dart Code Metrics checks automatically."
author: "Dart Code Checker team"
branding:
color: "blue"
icon: "search"
inputs:
github_token:
description: "Token to connect to GitHub. Use secrets.GITHUB_TOKEN."
required: true
github_pat:
description: "Personal access token. Required if you had private GitHub repository in the package dependencies."
required: false
default: ""
folders:
description: "List of folders whose contents will be scanned."
required: false
default: "lib"
relative_path:
description: "Path of the package relatively to the root of the repository."
required: false
default: ""
pull_request_comment:
description: "Publish detailed report commented directly into your pull request."
required: false
default: "false"
analyze_report_title_pattern:
description: "Configurable analyze report title pattern."
required: false
default: "Dart Code Metrics analyze report of $packageName."
fatal_warnings:
description: "Treat warning level issues as fatal."
required: false
default: "false"
fatal_performance:
description: "Treat performance level issues as fatal."
required: false
default: "false"
fatal_style:
description: "Treat style level issues as fatal."
required: false
default: "false"
check_unused_files:
description: "Additional scan for find unused files in package."
required: false
default: "false"
check_unused_files_folders:
description: "List of folders whose contents will be scanned for find unused files."
required: false
unused_files_report_title_pattern:
description: "Configurable unused files report title pattern."
required: false
default: "Dart Code Metrics unused files report of $packageName."
flutter_version:
description: "Flutter SDK version."
required: false
default: "stable"
runs:
using: "docker"
image: "Dockerfile"
env:
flutter_version: ${{ inputs.flutter_version }}