chore: add SwiftLint config, build CI, unpin Xcode in CodeQL#6
Merged
Krivoblotsky merged 1 commit intodevelopfrom May 1, 2026
Merged
chore: add SwiftLint config, build CI, unpin Xcode in CodeQL#6Krivoblotsky merged 1 commit intodevelopfrom
Krivoblotsky merged 1 commit intodevelopfrom
Conversation
- .swiftlint.yml: pragmatic ruleset (line length 140, opt-in best practice rules, exclude Xcode project artefacts). - .github/workflows/build.yml: build the project on every PR/push to develop and main so broken builds are caught before merge. - codeql.yml: replace hardcoded Xcode 16.1 path with maxim-lobanov/setup-xcode@v1 + latest-stable so the workflow does not break when GitHub runners upgrade. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the project up to a contributor-friendly tooling baseline.
.swiftlint.yml— pragmatic ruleset: line length 140 (200 error), opt-in best-practice rules (empty_count,explicit_init,first_where,last_where,contains_over_first_not_nil,sorted_first_last), exclude Xcode build artefacts..github/workflows/build.yml— new workflow that builds the Xcode project on every push/PR todevelopandmain. Usesmaxim-lobanov/setup-xcode@v1withlatest-stableandxcbeautifyfor clean logs..github/workflows/codeql.yml— replace the hardcodedsudo xcode-select -s /Applications/Xcode_16.1.appstep with the samesetup-xcode@v1action so the workflow doesn't break the next time the GitHub runner image moves on.Type of Change
Test plan
swiftlint lintlocally and confirm no errors on the existing source tree🤖 Generated with Claude Code