diff --git a/.github/fastlane/Fastfile b/.github/fastlane/Fastfile index c758842c6..c06c39959 100644 --- a/.github/fastlane/Fastfile +++ b/.github/fastlane/Fastfile @@ -66,7 +66,11 @@ 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, + no_clean: true + ) end lane :lint do 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 }}