-
Notifications
You must be signed in to change notification settings - Fork 360
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
refactor: reads supported Foundry version from an environment variable #11046
refactor: reads supported Foundry version from an environment variable #11046
Conversation
Expect the workflows to fail, because the |
Expect the workflows to pass, because the |
Waiting to confirm whether I should merge this branch against |
Converting this into a draft PR again. I'll merge this branch into |
cc9922c
to
8f039a2
Compare
That should be done with 8f039a2. Waiting for CI to pass before marking this as ready for review. |
CI didn't complete, because runner didn't pick the "Build & Integration Tests / Install dependencies" workflow. |
When I run the "Protocol Compatibility" command locally, the command passes: $ yarn
$ yarn build
$ yarn --cwd packages/protocol test compatibility/
# ...
76 passing (4s)
2 pending
✨ Done in 196.13s. Context: celo-monorepo/.github/workflows/celo-monorepo.yml Lines 220 to 222 in c870d49
|
71afc79
to
e886bb1
Compare
e886bb1
to
fb3b71d
Compare
refactor: reads supported Foundry version from an environment variable
🚨 Report Summary
For more details view the full report in OpenZeppelin Code Inspector |
The problem with the missing (or "expected") workflow was that the condition that is evaluated before running the steps could never evaluate to true here, because it was running against Now that the condition includes celo-monorepo/.github/workflows/celo-monorepo.yml Lines 160 to 164 in 3a0a771
The required changes was: - github.base_ref == 'master' || contains(github.base_ref, 'production') ||
+ github.base_ref == 'master' || contains(github.base_ref, 'release') || contains(github.base_ref, 'production') || This was fixed in #11080, which was merged in the meantime. The workflows are all green now ✅ |
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.
🚀
Description
SUPPORTED_FOUNDRY_VERSION
) defined at the celo-org (GitHub org) level.The overall objective is to update Foundry versions in lock-steps. See more context on pros and cons in:
Other changes
None.
Tested
Tested on CI. This only changes CI workflows.
Related issues
Backwards compatibility
Yes.
Documentation
Yes in code comments and this PR description.