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 cf25386 commit 374bd1dCopy full SHA for 374bd1d
.github/workflows/macOS-tests.yml
@@ -34,8 +34,6 @@ jobs:
34
cancel-in-progress: false
35
steps:
36
- uses: actions/checkout@v3
37
- with:
38
- fetch-depth: 2 # Enable `git diff` in GitHub Actions
39
- name: Discover typos
40
run: |
41
pip3 install --upgrade pip
@@ -46,7 +44,7 @@ jobs:
46
44
# 1. Make automated fixes that are possible
47
45
# 2. git diff to see what automated fixes were made
48
# 3. See https://github.com/realm/SwiftLint#xcode explains why the double run
49
- swiftlint --fix && git diff && swiftlint
+ swiftlint --fix && git diff origin/${GITHUB_REF##*/} origin/${GITHUB_HEAD_REF} && swiftlint
50
- name: Resolve dependencies
51
run: swift package resolve
52
- name: Build
0 commit comments