-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat(intelligence) Add Swift Docs #5068
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
Merged
Merged
Changes from 30 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
0b19d78
Add Package.swift in root
danielnugraha 311bb66
Fix sendable issue
danielnugraha d4245ac
Merge branch 'main' into add-swift-package
2c92f7b
Add to gitignore
danielnugraha afb76c2
Merge remote-tracking branch 'refs/remotes/origin/add-swift-package' …
danielnugraha 7d1c3f3
Format
danielnugraha 66f1e85
Format
danielnugraha 7b16105
Add ci checks and tests
danielnugraha 6292a64
use swift 6.0
danielnugraha a1efd50
Merge branch 'main' into add-swift-ci
43e373b
Merge main
danielnugraha ec3d12b
Merge remote-tracking branch 'refs/remotes/origin/add-swift-ci' into …
danielnugraha 675f4af
Add docs generation for Swift
danielnugraha c94b633
Add sourcedocs
danielnugraha cfb60af
Use macos
danielnugraha a3c185f
Add Swift to docs
danielnugraha 2f10d52
Change runner
danielnugraha f5ef188
Change to xcodebuild test
danielnugraha 3c1e3bd
Merge branch 'main' into add-swift-ci
42287b0
Use brew
danielnugraha 6f3a4b8
Merge remote-tracking branch 'refs/remotes/origin/add-swift-ci' into …
danielnugraha 717e190
Add check
danielnugraha 25cd9be
Upgrade xcode
danielnugraha d9d8bea
Upgrade xcode
danielnugraha 2215048
Upgrade xcode
danielnugraha 293f78c
Upgrade xcode
danielnugraha eb7723b
Add Docs
danielnugraha 8071ea4
Merge branch 'add-swift-ci' into add-swift-docs
danielnugraha 033a578
Merge branch 'main' into add-swift-docs
d9a1b5a
Merge branch 'main' into add-swift-docs
1be2779
Merge remote-tracking branch 'origin' into add-swift-docs
danielnugraha 8cc0afd
Merge remote-tracking branch 'refs/remotes/origin/add-swift-docs' int…
danielnugraha 0e5bb30
Separate swift and ts docs job
danielnugraha a1271d5
Merge branch 'main' into add-swift-docs
168072e
Fix pandoc
danielnugraha 5ec78f7
Merge branch 'main' into add-swift-docs
57a1a9c
Fix
danielnugraha dc8be63
Merge remote-tracking branch 'refs/remotes/origin/add-swift-docs' int…
danielnugraha 3949407
Change ubuntu version
danielnugraha 87c00fe
Merge branch 'main' into add-swift-docs
8b90838
Fix
danielnugraha 048d245
Merge remote-tracking branch 'refs/remotes/origin/add-swift-docs' int…
danielnugraha 6c73bbe
Fix
danielnugraha de42afd
Fix
danielnugraha b3ac856
Merge branch 'main' into add-swift-docs
a25281b
Fix
danielnugraha d568412
Merge remote-tracking branch 'refs/remotes/origin/add-swift-docs' int…
danielnugraha bc8049e
Merge branch 'main' into add-swift-docs
5350339
Merge branch 'main' into add-swift-docs
663700c
Merge branch 'main' into add-swift-docs
f5fc9d1
Merge branch 'main' into add-swift-docs
danieljanes 506f7b4
Merge branch 'main' into add-swift-docs
ee1bdfa
Merge branch 'main' into add-swift-docs
ce55dc7
Merge branch 'main' into add-swift-docs
flwrmachine e62ea66
Merge branch 'main' into add-swift-docs
flwrmachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| name: Intelligence Swift | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - 'intelligence/swift/**/*' | ||
| - '.github/workflows/intelligence-swift.yml' | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - 'intelligence/swift/**/*' | ||
| - '.github/workflows/intelligence-swift.yml' | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| env: | ||
| FLWR_TELEMETRY_ENABLED: 0 | ||
|
|
||
| jobs: | ||
| fi_swift_format_lint: | ||
| name: Format and Lint Check | ||
| runs-on: macos-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Install SwiftFormat | ||
| run: brew install swift-format | ||
|
|
||
| - name: Check formatting and lint | ||
| working-directory: intelligence/swift | ||
| run: swift-format lint --recursive . | ||
|
|
||
| fi_swift_tests: | ||
| name: Tests | ||
| runs-on: macos-14 | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - uses: swift-actions/setup-swift@v2 | ||
| with: | ||
| swift-version: "6.0.0" | ||
|
|
||
| - uses: maxim-lobanov/setup-xcode@v1 | ||
| with: | ||
| xcode-version: "16.2" | ||
|
|
||
| - name: Run tests | ||
| run: xcodebuild test -scheme flower -destination 'platform=macOS' |
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.