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

Fix CI/CD #47

Merged
merged 7 commits into from
Nov 17, 2023
Merged

Fix CI/CD #47

merged 7 commits into from
Nov 17, 2023

Conversation

BenSparksCode
Copy link
Contributor

@BenSparksCode BenSparksCode commented Nov 14, 2023

Previously the CI/CD was always failing so we turned it off. This should fix it and allow us to turn it back on for better quality control. Summary:

  1. The lint check will fail if the code has not been formatted withforge fmt. The linting rules for forge fmt are still to be decided amongst the team.
  2. The build check will fail if the contracts either do not compile, or if any are over the 24kb size limit.
  3. The test check will be skipped if either of the previous 2 steps fail. If any tests fail this check also fails.

@BenSparksCode BenSparksCode marked this pull request as draft November 14, 2023 17:12
@BenSparksCode BenSparksCode marked this pull request as ready for review November 14, 2023 17:15
Base automatically changed from deploy-script to main November 17, 2023 11:19
@BenSparksCode BenSparksCode merged commit 83f5ddf into main Nov 17, 2023
3 checks passed
@BenSparksCode BenSparksCode deleted the ci-cd-fix branch November 17, 2023 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant