Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Commit a8c6eae

Browse files
authored
Fix SwiftLint action (#434)
* Update SwiftLint action
1 parent 9a568ab commit a8c6eae

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/swiftlint.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ jobs:
1212
runs-on: ubuntu-20.04
1313
steps:
1414
- uses: actions/checkout@v1
15+
# Fetch current versions of files
16+
- name: Fetch base ref
17+
run: |
18+
git fetch --prune --no-tags --depth=1 origin +refs/heads/${{ github.base_ref }}:refs/heads/${{ github.base_ref }}
19+
# Diff pull request to current files, then SwiftLint changed files
1520
- name: GitHub Action for SwiftLint
16-
uses: norio-nomura/action-swiftlint@3.1.0
21+
uses: ezraberch/action-swiftlint@3.2.3
1722
env:
1823
DIFF_BASE: ${{ github.base_ref }}
24+
DIFF_HEAD: HEAD

0 commit comments

Comments
 (0)