|
|
@@ -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' || '' }}
|