Skip to content
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

chore: Upgrade tuist #1385

Merged
merged 4 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- uses: jdx/mise-action@v2
- name: Checkout
uses: actions/checkout@v2
- name: Create test env
Expand All @@ -26,6 +27,6 @@ jobs:
touch $ENV_PATH
echo -e "enum Env {\n static let token = \"$ACCESS_TOKEN\"\n static let userId = $USER_ID\n static let mailboxId = $MAILBOX_ID\n}" > $ENV_PATH
- name: Build
run: .tuist-bin/tuist build --generate "Infomaniak Mail"
run: tuist install && tuist build --generate "Infomaniak Mail"
- name: Test
run: .tuist-bin/tuist test Mail --test-targets MailTests/MailApiTests
run: tuist test Mail --test-targets MailTests/MailApiTests
3 changes: 2 additions & 1 deletion .github/workflows/uitests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- uses: jdx/mise-action@v2
- name: Checkout
uses: actions/checkout@v2
- name: Create test env
Expand All @@ -25,4 +26,4 @@ jobs:
touch $ENV_PATH
echo -e "enum Env {\n static let testAccountEmail = \"$UITEST_ACCOUNT_EMAIL\"\n static let testAccountPassword = \"$UITEST_ACCOUNT_PASSWORD\"\n}" > $ENV_PATH
- name: UITest
run: .tuist-bin/tuist test Mail --device "iPhone 15 Pro" --test-targets MailUITests/MailUITests
run: tuist install && tuist test Mail --device "iPhone 15 Pro" --test-targets MailUITests/MailUITests
4 changes: 4 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[tools]
tuist = '4.9.0'
swiftformat = '0.53.7'
swiftlint = '0.54.0'
2 changes: 1 addition & 1 deletion .swiftformat
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@
--yodaswap always
--disable andOperator,opaqueGenericParameters,preferKeyPath,redundantReturn,strongOutlets,trailingCommas,unusedArguments,wrapMultilineStatementBraces
--enable blankLineAfterImports,blankLinesBetweenImports
--exclude DerivedData,Derived,Tuist,Project.swift,Build
--exclude DerivedData,Derived,Tuist,Project.swift,Build,.build

Binary file removed .swiftformat-bin/swiftformat
Binary file not shown.
20 changes: 0 additions & 20 deletions .tuist-bin/ProjectAutomation.xcframework.dSYM/Contents/Info.plist

This file was deleted.

Binary file not shown.
26 changes: 0 additions & 26 deletions .tuist-bin/ProjectAutomation.xcframework/Info.plist

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions .tuist-bin/ProjectDescription.framework.dSYM/Contents/Info.plist

This file was deleted.

Binary file not shown.
Loading
Loading