We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7482722 commit 8bd578dCopy full SHA for 8bd578d
.github/workflows/lint.yml
@@ -25,9 +25,11 @@ jobs:
25
swiftlint-${{ runner.os }}-
26
- name: Install SwiftLint
27
if: steps.cache.outputs.cache-hit != 'true'
28
- run: brew install swiftlint
+ run: |
29
+ if ! command -v swiftlint &> /dev/null; then
30
+ brew install swiftlint
31
+ fi
32
- name: Link SwiftLint
- if: steps.cache.outputs.cache-hit == 'true'
33
run: brew link swiftlint --force
34
- name: Run SwiftLint
35
run: swiftlint --strict
0 commit comments