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 8d34cb7 commit 198a8f9Copy full SHA for 198a8f9
.github/workflows/swiftlint.yml
@@ -16,7 +16,14 @@ jobs:
16
17
# Step 2: Install SwiftLint
18
- name: Install SwiftLint
19
- run: brew install swiftlint
+ run: |
20
+ sudo apt-get update
21
+ sudo apt-get install -y curl git libssl-dev libcurl4-openssl-dev libz-dev
22
+ curl -fsSL https://swift.org/builds/swift-5.9.1-release/ubuntu2004/swift-5.9.1-RELEASE/swift-5.9.1-RELEASE-ubuntu20.04.tar.gz | tar -xz -C /usr/local --strip-components=1
23
+ git clone https://github.com/realm/SwiftLint.git
24
+ cd SwiftLint
25
+ swift build -c release
26
+ sudo cp .build/release/swiftlint /usr/local/bin
27
28
# Step 3: Run SwiftLint and parse errors
29
- name: Run SwiftLint
0 commit comments