From 08242eef6ef5b7825339482c4ebe691f63795fe2 Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 17:41:01 -0300 Subject: [PATCH 01/14] Create swift.yml --- .github/workflows/swift.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/swift.yml diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml new file mode 100644 index 0000000..af139d8 --- /dev/null +++ b/.github/workflows/swift.yml @@ -0,0 +1,25 @@ +# This workflow will build a Swift project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift + +name: Run Fastlane + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.0' + bundler-cache: true + - uses: maierj/fastlane-action@v3.1.0 + with: + lane: 'tests' From b5f891de495e070019df716063716259302cf93e Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 17:42:42 -0300 Subject: [PATCH 02/14] Update swift.yml --- .github/workflows/swift.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index af139d8..f0fdbfa 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -17,9 +17,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.0' - bundler-cache: true + with: + ruby-version: '3.0' + bundler-cache: true - uses: maierj/fastlane-action@v3.1.0 with: lane: 'tests' From cb509ad97d52a442ef8635a2015878df8124a7ac Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 17:45:35 -0300 Subject: [PATCH 03/14] Update swift.yml --- .github/workflows/swift.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index f0fdbfa..5589c31 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -18,8 +18,8 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.0' + ruby-version: '2.6.1' bundler-cache: true - - uses: maierj/fastlane-action@v3.1.0 + - uses: maierj/fastlane-action@v.1.0 with: lane: 'tests' From 60cccd3dd6c914466368567de150783c7c183f12 Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 17:46:13 -0300 Subject: [PATCH 04/14] Update swift.yml --- .github/workflows/swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 5589c31..2e8082b 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -20,6 +20,6 @@ jobs: with: ruby-version: '2.6.1' bundler-cache: true - - uses: maierj/fastlane-action@v.1.0 + - uses: maierj/fastlane-action@v3.1.0 with: lane: 'tests' From 673079b8cf77e3241fdc2cc4ad045a7090d63f45 Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 17:48:15 -0300 Subject: [PATCH 05/14] Update swift.yml --- .github/workflows/swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 2e8082b..07f96fa 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: '2.6.1' + ruby-version: '2.6.10p210' bundler-cache: true - uses: maierj/fastlane-action@v3.1.0 with: From bd5766dc9fd9c8aaa4320ba3b6c87d90062eadb1 Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 17:49:06 -0300 Subject: [PATCH 06/14] Update swift.yml --- .github/workflows/swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 07f96fa..19a9be4 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: '2.6.10p210' + ruby-version: '2.6.10' bundler-cache: true - uses: maierj/fastlane-action@v3.1.0 with: From e2fc5f8324a4137b529941d0f873ea9654b982dc Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 17:51:59 -0300 Subject: [PATCH 07/14] Update swift.yml --- .github/workflows/swift.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 19a9be4..ec7fabf 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -20,6 +20,10 @@ jobs: with: ruby-version: '2.6.10' bundler-cache: true - - uses: maierj/fastlane-action@v3.1.0 - with: - lane: 'tests' + - name: Install dependencies + run: bundle install + - name: Run Tests + run: fastlane tests + # - uses: maierj/fastlane-action@v3.1.0 + # with: + # lane: 'tests' From db2472d916996a711794cbdce0b2f03564392cbb Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 18:00:17 -0300 Subject: [PATCH 08/14] Update swift.yml --- .github/workflows/swift.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index ec7fabf..0c294bd 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -16,6 +16,8 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install Bundler + run: gem install bundler -v 2.6.3 - uses: ruby/setup-ruby@v1 with: ruby-version: '2.6.10' From d44849ab342533cc937d1757e5eef375fbfd71ad Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 18:02:37 -0300 Subject: [PATCH 09/14] Update swift.yml --- .github/workflows/swift.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 0c294bd..6072287 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -16,12 +16,12 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.1' # Ensure this matches the required version - name: Install Bundler run: gem install bundler -v 2.6.3 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: '2.6.10' - bundler-cache: true - name: Install dependencies run: bundle install - name: Run Tests From 3ef091cd2c107bfe807170b02e9965c0ea10547c Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 18:04:41 -0300 Subject: [PATCH 10/14] Update swift.yml --- .github/workflows/swift.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 6072287..3950bfe 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -20,12 +20,12 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: '3.1' # Ensure this matches the required version - - name: Install Bundler - run: gem install bundler -v 2.6.3 - - name: Install dependencies - run: bundle install - - name: Run Tests - run: fastlane tests - # - uses: maierj/fastlane-action@v3.1.0 - # with: - # lane: 'tests' + # - name: Install Bundler + # run: gem install bundler -v 2.6.3 + # - name: Install dependencies + # run: bundle install + # - name: Run Tests + # run: fastlane tests + - uses: maierj/fastlane-action@v3.1.0 + with: + lane: 'tests' From cd0dfe7bd22044bb06c06d7f4c64f0064ddd4147 Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 18:05:30 -0300 Subject: [PATCH 11/14] Update swift.yml --- .github/workflows/swift.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 3950bfe..5917f83 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -20,8 +20,8 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: '3.1' # Ensure this matches the required version - # - name: Install Bundler - # run: gem install bundler -v 2.6.3 + - name: Install Bundler + run: gem install bundler -v 2.6.3 # - name: Install dependencies # run: bundle install # - name: Run Tests From f84aedd62dac9bec4c00171367e0c0daf7292ad2 Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 18:06:14 -0300 Subject: [PATCH 12/14] Update swift.yml --- .github/workflows/swift.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 5917f83..3bf3242 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -22,8 +22,8 @@ jobs: ruby-version: '3.1' # Ensure this matches the required version - name: Install Bundler run: gem install bundler -v 2.6.3 - # - name: Install dependencies - # run: bundle install + - name: Install dependencies + run: bundle install # - name: Run Tests # run: fastlane tests - uses: maierj/fastlane-action@v3.1.0 From 33fa231bb6fa7d99c3b0afe3932af2296cbd2c4a Mon Sep 17 00:00:00 2001 From: tassiomm Date: Mon, 24 Feb 2025 18:46:13 -0300 Subject: [PATCH 13/14] Update swift.yml --- .github/workflows/swift.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 3bf3242..062cbae 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -24,8 +24,8 @@ jobs: run: gem install bundler -v 2.6.3 - name: Install dependencies run: bundle install - # - name: Run Tests - # run: fastlane tests + - name: Skip Swift Macros + run: defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES - uses: maierj/fastlane-action@v3.1.0 with: lane: 'tests' From 9dc44873458f152314a921c323cab73a7200f1f8 Mon Sep 17 00:00:00 2001 From: Tassio Marques Date: Tue, 25 Feb 2025 15:54:01 -0300 Subject: [PATCH 14/14] update simulator --- fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 6127932..a31f53c 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -24,6 +24,6 @@ end lane :tests do run_tests(workspace: "GitAPIChallenge.xcworkspace", - devices: ["iPhone 14 Pro (16.0)"], + devices: ["iPhone 15 Pro"], scheme: "GitAPIChallenge") end \ No newline at end of file