Skip to content

Commit fa97331

Browse files
committed
chore: pin SwiftLint to version 0.62.2 for consistency
1 parent bc36994 commit fa97331

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/swiftlint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
uses: actions/cache/restore@v4
2626
with:
2727
path: /usr/local/bin/swiftlint
28-
key: ${{ runner.os }}-swiftlint-v1
28+
key: ${{ runner.os }}-swiftlint-0.62.2
2929

3030
- name: Install swiftlint
3131
if: steps.cache-swiftlint-restore.outputs.cache-hit != 'true'
3232
run: |
33-
git clone --depth 1 --branch main https://github.com/realm/SwiftLint.git
33+
git clone --depth 1 --branch 0.62.2 https://github.com/realm/SwiftLint.git
3434
cd SwiftLint
3535
swift build -c release
3636
cp .build/release/swiftlint /usr/local/bin/
@@ -45,4 +45,4 @@ jobs:
4545
if: steps.cache-swiftlint-restore.outputs.cache-hit != 'true'
4646
with:
4747
path: /usr/local/bin/swiftlint
48-
key: ${{ runner.os }}-swiftlint-v1
48+
key: ${{ runner.os }}-swiftlint-0.62.2

0 commit comments

Comments
 (0)