-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
45 lines (43 loc) · 1.43 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: Check storage layout
author: Rubilmax
description: Easily compare storage layout reports generated by foundry!
branding:
icon: info
color: purple
inputs:
contract:
description: The path and name of the contract of which to inspect storage layout (e.g. src/Contract.sol:Contract).
required: true
address:
description: The address at which the contract is deployed on the EVM-compatible chain queried via rpcUrl.
required: false
rpcUrl:
description: The HTTP/WS url used to query the EVM-compatible chain for storage slots to check for clashing.
required: false
failOnRemoval:
description: Whether to fail the CI when removing a storage slot (to only allow added or renamed storage slots).
required: false
default: false
token:
description: The repository's github token.
default: ${{ github.token }}
required: false
base:
description: The storage layout reference branch name.
default: ${{ github.base_ref || github.ref_name }}
required: false
head:
description: The storage layout target branch name.
default: ${{ github.head_ref || github.ref_name }}
required: false
workingDirectory:
description: The directory inside which to run forge inspect.
default: .
required: false
retryDelay:
description: The retry delay (in milliseconds) between each GitHub API query.
default: 1000
required: false
runs:
using: node20
main: dist/index.js