-
Notifications
You must be signed in to change notification settings - Fork 16
[#581] Update the Tuist to the latest version #589
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
Open
ducbm051291
wants to merge
2
commits into
bug/587-ci-cd-workflows-failed-due-to-deprecated-github-actions
Choose a base branch
from
feature/581-update-tuist-to-latest-version
base: bug/587-ci-cd-workflows-failed-due-to-deprecated-github-actions
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+521
−991
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| package_manager: cocoapods | ||
| package_manager: spm | ||
| environments: | ||
| - Staging | ||
| - Release | ||
|
|
||
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
|---|---|---|
|
|
@@ -10,7 +10,8 @@ name: Test Upload Build to TestFlight | |
| ### TEAM_ID | ||
|
|
||
| on: | ||
| pull_request | ||
| # Disabled by default; keep only for manual runs when needed. | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
|
|
@@ -20,12 +21,18 @@ jobs: | |
| build: | ||
| name: Build | ||
| runs-on: macOS-latest | ||
| env: | ||
| FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 60 | ||
| FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 4 | ||
| steps: | ||
| - name: Checkout Repo | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Install tools with mise | ||
| uses: jdx/mise-action@v3 | ||
|
|
||
| - name: Install SSH key | ||
| uses: webfactory/[email protected] | ||
| with: | ||
|
|
@@ -34,17 +41,17 @@ jobs: | |
| - name: Bundle install | ||
| run: bundle install | ||
|
|
||
| - name: Cache Pods | ||
| - name: Cache SPM Packages | ||
| uses: actions/cache@v4 | ||
| id: cocoapodCache | ||
| id: spmCache | ||
| with: | ||
| path: Pods | ||
| key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
| path: .build | ||
| key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-pods- | ||
| ${{ runner.os }}-spm- | ||
|
|
||
| - name: Start Install Script for Template App | ||
| run: swift run --package-path Scripts/Swift/iOSTemplateMaker iOSTemplateMaker make --bundle-id-production co.nimblehq.ios.templates --bundle-id-staging co.nimblehq.ios.templates.staging --project-name TemplateApp --interface UIKit | ||
| run: swift run --package-path Scripts/Swift/iOSTemplateMaker iOSTemplateMaker make --bundle-id-production co.nimblehq.ios.templates --bundle-id-staging co.nimblehq.ios.templates.staging --project-name TemplateApp | ||
|
|
||
| - name: Start Setup Script for Template App TestFlight Upload | ||
| run: swift run --package-path Scripts/Swift/iOSTemplateMaker iOSTemplateMaker make-test-test-flight | ||
|
|
||
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,4 @@ | ||
| [tools] | ||
| tuist = "4.110.3" | ||
|
|
||
|
|
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 |
|---|---|---|
| @@ -1 +1 @@ | ||
| 3.2.0 | ||
| 4.110.3 |
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 |
|---|---|---|
| @@ -1,16 +1,13 @@ | ||
| source "https://rubygems.org" | ||
|
|
||
| gem 'arkana' | ||
| gem "cocoapods" | ||
| gem "fastlane" | ||
| gem "xcov" | ||
| gem "danger" | ||
| gem "danger-swiftlint" | ||
| gem "danger-xcode_summary" | ||
| gem 'danger-swiftformat' | ||
| gem 'danger-xcov' | ||
| # Fix issue with Cocoapods 13.0 when activesupport is 7.1.0 | ||
| gem 'activesupport', '~> 7.0.0', '>= 7.0.8' | ||
|
|
||
| plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') | ||
| eval_gemfile(plugins_path) if File.exist?(plugins_path) |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 92
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 212
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 1909
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 168
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 168
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 3572
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 3819
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 212
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 373
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 93
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 48
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 1569
🏁 Script executed:
Repository: nimblehq/ios-templates
Length of output: 110
Verify swiftformat and swiftlint are installed in CI environments.
The binary paths for SwiftFormat and SwiftLint (lines 10, 15) reference external CLI tools that must be available in the system PATH. The Gemfile includes the Danger wrapper gems (
danger-swiftformat,danger-swiftlint), but these gems require the actual swiftformat and swiftlint binaries to be pre-installed. Ensure these tools are installed as part of your CI setup—neither bitrise.yml nor codemagic.yaml shows explicit installation steps for these binaries. Consider adding installation commands (e.g., via Homebrew, mint, or direct download) to your CI workflows.🤖 Prompt for AI Agents