-
Notifications
You must be signed in to change notification settings - Fork 112
62 lines (56 loc) · 1.43 KB
/
contract.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
name: "Contract"
on:
workflow_call:
inputs:
package_folder:
required: true
type: string
coverage_args:
required: false
type: string
name:
required: true
type: string
ignore_coverage_files:
required: false
type: string
skip_storage_layout:
type: boolean
default: false
jobs:
build:
uses: ./.github/workflows/build.yml
with:
package_folder: ${{ inputs.package_folder }}
test:
needs: build
uses: ./.github/workflows/test.yml
secrets: inherit
with:
package_folder: ${{ inputs.package_folder }}
name: ${{ inputs.name }}
storage_layout:
needs: build
uses: ./.github/workflows/storage_layout.yml
if: ${{ inputs.skip_storage_layout == false }}
with:
package_folder: ${{ inputs.package_folder }}
name: ${{ inputs.name }}
contract_sizes:
needs: build
uses: ./.github/workflows/contract_sizes.yml
with:
package_folder: ${{ inputs.package_folder }}
name: ${{ inputs.name }}
slither:
needs: build
uses: ./.github/workflows/slither.yml
with:
package_folder: ${{ inputs.package_folder }}
coverage:
uses: ./.github/workflows/coverage.yml
secrets: inherit
with:
package_folder: ${{ inputs.package_folder }}
files_to_ignore: ${{ inputs.ignore_coverage_files }}
coverage_args: ${{ inputs.coverage_args }}