Skip to content

Commit 1f9b9af

Browse files
committed
ci: migrate SwiftLint to Linux runners
1 parent a087bb2 commit 1f9b9af

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/swiftlint.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
swiftlint:
1111
name: Check Code Quality
12-
runs-on: macos-26
12+
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v5
1515

@@ -23,7 +23,10 @@ jobs:
2323
- name: Install SwiftLint
2424
if: steps.cache-swiftlint.outputs.cache-hit != 'true'
2525
run: |
26-
brew install swiftlint
26+
wget https://github.com/realm/SwiftLint/releases/download/0.57.0/swiftlint_linux.zip
27+
unzip swiftlint_linux.zip
28+
sudo mv swiftlint /usr/local/bin/
29+
sudo chmod +x /usr/local/bin/swiftlint
2730
2831
- name: Verify SwiftLint installation
2932
run: |

0 commit comments

Comments
 (0)