-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
63 lines (60 loc) · 2.32 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
name: Generate gas diff
author: TomAFrench
description: Easily compare circuit size reports generated by Nargo!
branding:
icon: info
color: purple
inputs:
token:
description: The repository's github token.
default: ${{ github.token }}
required: false
base:
description: The gates diff reference branch name.
default: ${{ github.base_ref || github.ref_name }}
required: false
head:
description: The gates diff target branch name.
default: ${{ github.head_ref || github.ref_name }}
required: false
report:
description: Report freshly generated to compare to reference.
default: gates_report.json
required: false
header:
description: The top section displayed in the markdown output.
default: |
# Changes to circuit sizes
required: false
summaryQuantile:
description: The quantile threshold to filter avg gas cost diffs to display in the summary top section.
default: 0.8
required: false
brillig_report:
description: States whether we want to generate a report of ACIR opcodes or Brillig opcodes.
default: false
brillig_report_bytes:
description: States whether the Brillig report is done with bytecode sizes rather than opcodes.
default: false
# sortCriteria:
# description: The list of criteria to order diff rows by in the report (name | min | avg | median | max | calls), separated by a comma. Must have the same length as sortOrders.
# required: false
# default: name
# sortOrders:
# description: The list of directions to order diff rows in the report, according to order criteria (asc | desc), separated by a comma. Must have the same length as sortCriteria.
# required: false
# default: asc
# ignore:
# description: The list of contract paths from which to ignore gates reports, separated by a comma.
# required: false
# match:
# description: The list of contract paths of which only to keep gates reports, separated by a comma.
# required: false
outputs:
shell:
description: The gates diff between the base gates report and the freshly generated gates report, specifically formatted for shell display
markdown:
description: The gates diff between the base gates report and the freshly generated gates report, specifically formatted for markdown display
runs:
using: node16
main: dist/index.js