This workflow runs automated checks on pull requests to ensure code
quality:
- Builds the OMG project using xcodebuild with the OMG scheme
- Validates code formatting using swiftformat with the project's
.swiftformat configuration
- Caches Swift Package Manager dependencies to optimize build times
- Runs on all pull requests targeting main and develop branches
The workflow helps maintain code quality and consistency by catching
build failures and formatting issues before code is merged.