Skip to content

Conversation

@BrentMifsud
Copy link

  • Added in support for swift package manager.
  • Added Swiftlint and swiftformat config
    • to install SwiftLint: brew install swiftlint, run with swiftlint
    • to install swiftformat: brew install swiftformat, run with swiftformat . --swiftversion=5.2
  • Added GitHub Actions to build and lint the project.
  • fixed a rare index out of bounds crash.

Brent Mifsud and others added 10 commits January 28, 2020 15:01
- 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 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
@BrentMifsud BrentMifsud marked this pull request as ready for review May 22, 2020 00:01
@BrentMifsud
Copy link
Author

BrentMifsud commented May 22, 2020

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.

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