Эх сурвалжийг харах

feat(ci): Add verbose option to reusable lint workflow (#15377)

Nick Cooke 6 сар өмнө
parent
commit
d760a89a6a

+ 7 - 0
.github/workflows/common_cocoapods.yml

@@ -75,6 +75,12 @@ on:
         required: false
         default: true
 
+      # Whether to lint with `--verbose`. Defaults to false.
+      verbose:
+        type: boolean
+        required: false
+        default: false
+
       # Whether to additionally build with Swift 6. Defaults to false.
       supports_swift6:
         type: boolean
@@ -151,6 +157,7 @@ jobs:
         command: |
           scripts/pod_lib_lint.rb ${{ inputs.product }}.podspec --platforms=${{ matrix.platform }} \
             ${{ inputs.allow_warnings == true && '--allow-warnings' || '' }} \
+            ${{ inputs.verbose == true && '--verbose' || '' }} \
             ${{ inputs.analyze == false && '--no-analyze' || '' }} \
             ${{ inputs.test_specs != '' && format('--test-specs={0}', inputs.test_specs) || '' }} \
             ${{ (contains(inputs.buildonly_platforms, matrix.platform) || contains(inputs.buildonly_platforms, 'all')) && '--skip-tests' || '' }}