MynaWallet / monorepo

15 stars 4 forks source link

Implement caching and update formatting checks in CI #33

Closed susumutomita closed 8 months ago

susumutomita commented 8 months ago

Title: Add CI Workflow for Contracts and Formatting Checks

Description: This pull request encapsulates the integration of forge fmt and forge fmt --check commands into our Makefile, as well as the addition of a Continuous Integration (CI) workflow for our contracts. These enhancements encompass the following key changes:

  1. Forge Formatting Integration:

    • Added forge fmt and forge fmt --check commands to the Makefile under the targets format and format_check respectively. This enables automatic formatting checks and ensures that our Solidity contracts adhere to the project's coding standards.
  2. CI Workflow Addition for Contracts:

    • Incorporated a new CI workflow that triggers on pull requests, specifically checking the formatting of Solidity contracts within the packages/contracts directory. This automation enhances the review process by validating the code formatting and consistency across the project.

These optimizations streamline our development process, making the CI workflow more efficient and aiding in maintaining the high quality and consistency of our codebase.

motemotech commented 8 months ago

@susumutomita Thx! LGTM!