Skip to content

Add SwiftFormat lint check to CI#28

Merged
dadachi merged 2 commits intomainfrom
ci/add-swiftformat-lint
Mar 31, 2026
Merged

Add SwiftFormat lint check to CI#28
dadachi merged 2 commits intomainfrom
ci/add-swiftformat-lint

Conversation

@dadachi
Copy link
Copy Markdown
Contributor

@dadachi dadachi commented Mar 31, 2026

Summary

  • Add swiftformat --lint check to the run_tests.yml GitHub Actions workflow
  • SwiftFormat is installed alongside SwiftLint via Homebrew
  • Create Makefile with lint and format targets
  • Update CLAUDE.md with make lint/make format instructions
  • Apply SwiftFormat fixes to pass the lint check

Test plan

  • Verify the workflow runs successfully on this PR
  • Confirm swiftformat --lint catches unformatted code
  • Verify make lint and make format work locally

🤖 Generated with Claude Code

dadachi and others added 2 commits March 31, 2026 21:29
Add swiftformat --lint to the GitHub Actions workflow alongside
SwiftLint. Create Makefile with lint and format targets. Update
CLAUDE.md with make lint/format instructions. Apply SwiftFormat
fixes to pass the lint check.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Non-public structs with all Sendable properties are implicitly
Sendable in Swift 6.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dadachi dadachi merged commit b0cdd66 into main Mar 31, 2026
2 checks passed
@dadachi dadachi deleted the ci/add-swiftformat-lint branch March 31, 2026 22:59
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