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 c3de2ef commit be7478bCopy full SHA for be7478b
.github/workflows/swiftlint.yml
@@ -1,18 +1,24 @@
1
name: SwiftLint
2
-
3
on:
4
pull_request:
+ push:
5
+ branches: [main, develop]
6
7
jobs:
8
lint:
9
runs-on: macos-latest
10
steps:
11
- name: Checkout
12
uses: actions/checkout@v4
13
+
14
+ - name: Cache SwiftLint
15
+ uses: actions/cache@v3
16
+ with:
17
+ path: /usr/local/bin/swiftlint
18
+ key: swiftlint-${{ runner.os }}
19
20
- name: Install SwiftLint
21
run: brew install swiftlint
22
23
- name: Run SwiftLint
- run: swiftlint --strict
24
+ run: swiftlint --strict --reporter github-actions-logging
0 commit comments