-
Notifications
You must be signed in to change notification settings - Fork 253
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
Add SwiftPM support, GitHub Actions CI. #189
base: master
Are you sure you want to change the base?
Conversation
- clean up most swiftlint errors and warnings.
- rare occurrence during certain race conditions. - example situation would be the search results being being the result of a async call.
Add Swift PM Support
* add GitHub Actions * Update github action and remove redundant dependencies. - github action should now use linux to run swiftlint - these can be installed locally with `brew install swiftlint` and `brew install swiftformat` - left the config files for both. * add xcodeproj and fix SwiftLint error * Run build against iOS SDK
add ci badge to readme
The Github action I added is very simple. As there are no pre-existing test cases, I just run a build, and SwiftLint. If the build is successful and there are no serious code quality complaints from SwiftLint, the GitHub action will succeed. For the SPM support, best practice would be to cut a release. On the fork I created, I added a 1.2.6 tag. I would suggest doing the same here once this branch is merged. Otherwise users will have to use a branch or a commit SHA with SPM. |
brew install swiftlint
, run withswiftlint
brew install swiftformat
, run withswiftformat . --swiftversion=5.2