From c35b2d0cb3ce14ebe1c2bcddbcc640085a6b1119 Mon Sep 17 00:00:00 2001 From: Tyler Thompson Date: Fri, 3 Sep 2021 08:25:29 -0600 Subject: [PATCH 1/3] [pipeline-tweaks] - parallelized the pipeline a bit more - TT MZ Co-authored-by: Morgan Zellers --- .github/workflows/CI.yml | 9 ++++++++- .github/workflows/PR_CI.yml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e48e10294..88b43efb4 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -27,7 +27,7 @@ jobs: path: ~/Library/Logs/scan retention-days: 90 - build_for_package_managers: + build_for_swift_package_manager: runs-on: macos-latest env: working-directory: .github @@ -36,6 +36,13 @@ jobs: - name: Validate SwiftPM BUILDs run: bundle exec fastlane build_swiftpm working-directory: ${{ env.working-directory }} + + build_for_cocoapods: + runs-on: macos-latest + env: + working-directory: .github + steps: + - uses: actions/checkout@v2 - name: Validate Cocoapods Can Deploy (lib lint) run: bundle exec fastlane cocoapods_liblint working-directory: ${{ env.working-directory }} diff --git a/.github/workflows/PR_CI.yml b/.github/workflows/PR_CI.yml index d3c37e34a..54595c681 100644 --- a/.github/workflows/PR_CI.yml +++ b/.github/workflows/PR_CI.yml @@ -24,7 +24,7 @@ jobs: path: ~/Library/Logs/scan retention-days: 90 - build_for_package_managers: + build_for_swift_package_manager: runs-on: macos-latest env: working-directory: .github @@ -33,6 +33,13 @@ jobs: - name: Validate SwiftPM BUILDs run: bundle exec fastlane build_swiftpm working-directory: ${{ env.working-directory }} + + build_for_cocoapods: + runs-on: macos-latest + env: + working-directory: .github + steps: + - uses: actions/checkout@v2 - name: Validate Cocoapods Can Deploy (lib lint) run: bundle exec fastlane cocoapods_liblint working-directory: ${{ env.working-directory }} From 907d02dcc56ceaadc71ec0ac31e8af129fb5edd0 Mon Sep 17 00:00:00 2001 From: Tyler Thompson Date: Fri, 3 Sep 2021 08:43:12 -0600 Subject: [PATCH 2/3] [pipeline-tweaks] - Added some options to speed up pod lib linting - TT MZ Co-authored-by: Morgan Zellers --- .github/fastlane/Fastfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/fastlane/Fastfile b/.github/fastlane/Fastfile index c758842c6..a8c839439 100644 --- a/.github/fastlane/Fastfile +++ b/.github/fastlane/Fastfile @@ -66,7 +66,12 @@ platform :ios do end lane :cocoapods_liblint do - pod_lib_lint(podspec: '../SwiftCurrent.podspec', allow_warnings: true) + pod_lib_lint( + podspec: '../SwiftCurrent.podspec', + allow_warnings: true, + quick: true, + no_clean: true + ) end lane :lint do From ccdce50be0a496b2f2af2b4e1f3ce83d2c929a87 Mon Sep 17 00:00:00 2001 From: Tyler Thompson Date: Fri, 3 Sep 2021 08:44:45 -0600 Subject: [PATCH 3/3] [pipeline-tweaks] - Quick was too quick....we do not trust it - TT MZ Co-authored-by: Morgan Zellers --- .github/fastlane/Fastfile | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/fastlane/Fastfile b/.github/fastlane/Fastfile index a8c839439..c06c39959 100644 --- a/.github/fastlane/Fastfile +++ b/.github/fastlane/Fastfile @@ -69,7 +69,6 @@ platform :ios do pod_lib_lint( podspec: '../SwiftCurrent.podspec', allow_warnings: true, - quick: true, no_clean: true ) end