We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b57aab commit 96dfcafCopy full SHA for 96dfcaf
.github/workflows/cocoapods.yml
@@ -3,8 +3,15 @@ on: [push, workflow_dispatch]
3
4
jobs:
5
lint:
6
+ strategy:
7
+ matrix:
8
+ linttype: [Dynamic, Static]
9
+
10
name: Lint
11
runs-on: macOS-11
12
+ env:
13
+ LINT_TYPE: ${{ matrix.linttype }}
14
15
steps:
16
- name: Checkout Code
17
uses: actions/checkout@v2
@@ -14,10 +21,10 @@ jobs:
21
with:
22
version: latest
23
- - name: Lint (Dynamic Library)
18
- run: |
19
- pod lib lint
20
-
- - name: Lint (Static Library)
24
+ - name: Lint
25
run: |
- pod lib lint --use-libraries
26
+ if [ "$LINT_TYPE" == "Dynamic" ]; then
27
+ pod lib lint
28
+ else
29
+ pod lib lint --use-libraries
30
+ fi
0 commit comments