Skip to content
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

ci: fix check bindings job #247

Merged
merged 50 commits into from
Jan 29, 2025
Merged

ci: fix check bindings job #247

merged 50 commits into from
Jan 29, 2025

Conversation

pablodeymo
Copy link
Collaborator

@pablodeymo pablodeymo commented Jan 22, 2025

What Changed?

The Check bindings CI job was failing due to mismatches in the bindings generated by the CI and the ones generated by the Docker container.
This PR introduces the following changes:

  • Fixes the job by changing its ubuntu version from latest (24.04) to 22.04. With this change, the bindings generated by the CI are the same as the Docker container ones.
  • Changes the way the bindings are compared. Now it uses git diff --exit-code instead of copying the existing bindings and running diff.

Reviewer Checklist

  • New features are tested and documented
  • PR updates the changelog with a description of changes
  • PR has one of the changelog-X labels (if applies)
  • Code deprecates any old functionality before removing it

crates/contracts/foundry.toml Show resolved Hide resolved
@MegaRedHand MegaRedHand dismissed their stale review January 24, 2025 19:35

comment no longer applies

@ricomateo ricomateo self-assigned this Jan 24, 2025
@ricomateo ricomateo marked this pull request as draft January 24, 2025 21:30
@ricomateo ricomateo added the changelog-ignore PR is allowed to skip the changelog label Jan 27, 2025
@ricomateo ricomateo changed the title [WIP] solc version pinned ci: fix check bindings job Jan 27, 2025
@ricomateo ricomateo marked this pull request as ready for review January 27, 2025 16:58
MegaRedHand
MegaRedHand previously approved these changes Jan 27, 2025
Copy link
Contributor

@MegaRedHand MegaRedHand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@MegaRedHand MegaRedHand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MegaRedHand MegaRedHand merged commit eccb56e into main Jan 29, 2025
14 checks passed
@MegaRedHand MegaRedHand deleted the solc-pinned branch January 29, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-ignore PR is allowed to skip the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants