-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
various Solidity Foundry updates #14866
various Solidity Foundry updates #14866
Conversation
…run also for tests, add back static analysis
de6e810
to
500f4ec
Compare
AER Report: CI Core ran successfully ✅ |
@@ -252,9 +252,286 @@ jobs: | |||
artifact-name: code-coverage-report-${{ matrix.product.name }} | |||
working-directory: ./contracts | |||
|
|||
# runs only if non-test contracts were modified; scoped only to modified or added contracts | |||
analyze: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added back whole static analysis job
path: contracts/configs | ||
retention-days: 7 | ||
if-no-files-found: error | ||
include-hidden-files: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the only real change vs previous version, required as config files start with a .
solidity-forge-fmt: | ||
name: Forge fmt ${{ matrix.product.name }} | ||
if: ${{ needs.changes.outputs.non_src_changes == 'true' || needs.changes.outputs.not_test_sol_modified == 'true' }} | ||
if: ${{ needs.changes.outputs.non_src_changes == 'true' || needs.changes.outputs.sol_modified_added == 'true' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will now run forge fmt
when any Solidity files change, not only non-test ones
with: | ||
name: tmp-* | ||
|
||
check-tests-results: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new job that checks for results of the test matrix, we will set it as a required job
@@ -285,3 +562,16 @@ jobs: | |||
working-directory: contracts | |||
env: | |||
FOUNDRY_PROFILE: ${{ matrix.product.name }} | |||
|
|||
check-fmt-results: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new job that checks for results of the formatting matrix, we will set it as a required job
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo traceability
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also the name at line 2
Quality Gate passedIssues Measures |
* develop: rm gethwrappers from codeowners offchain (#14919) CCIP-3899 fix sender encoding (#14877) ccip: use unknown address type. (#14836) [chore] Add changeset entry for RequestRoundTracker fix (#14912) various Solidity Foundry updates (#14866) CCIP-3710 create new custom calldata L1 (DA) gas oracle (#14710) CCIP owns smoke test (#14906) core/services/ocr2/plugins/ccip/internal/ccipdata/factory: check error from TypeAndVersion (#14861) CCIP-3730 Misc ccip onchain changes (#14845) Chain fee integration tests (#14829) release/2.17.0 -> develop (#14721) Solana: re-enable disabled test with updated version (#14892)
* add two new aggregate jobs for tests and formatting, make formatting run also for tests, add back static analysis * update AER version, post solidity review ticket comment only if such ticket was found * revert AER version change * revert changes to llm aer file
This PR introduces a couple of changes:
Tests: