-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back contract size and storage layout check to CI (#388)
* Add back contract size and storage layout check * undo changes to build jobs * fix build task name
- Loading branch information
1 parent
a842efa
commit d71d023
Showing
4 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
package_folder: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
check: | ||
strategy: | ||
fail-fast: true | ||
|
||
name: Contract sizes | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install node deps and founry | ||
uses: ./.github/actions/setup_deps | ||
|
||
- name: Cache build | ||
uses: ./.github/actions/cache_foundry_build | ||
with: | ||
package_folder: ${{ inputs.package_folder }} | ||
|
||
- name: Check contract sizes | ||
run: cd ${{ inputs.package_folder }} && yarn build:sizes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
workflow_call: | ||
inputs: | ||
package_folder: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
check: | ||
strategy: | ||
fail-fast: true | ||
|
||
name: Storage layout inspection | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install node deps and founry | ||
uses: ./.github/actions/setup_deps | ||
|
||
- name: Cache build | ||
uses: ./.github/actions/cache_foundry_build | ||
with: | ||
package_folder: ${{ inputs.package_folder }} | ||
|
||
- name: "Inspect Storage Layout" | ||
run: cd ${{ inputs.package_folder}} && yarn storage-inspect:check |