All preview images generated by the backend are JPEG format, regardless
of the original image format (e.g., foo.png -> foo.preview.jpg).
Updated the imagePreviewURL getter, its documentation, and all tests to
reflect this behavior.
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.