Skip to content

Commit 9ea85a6

Browse files
committed
Use latest SwiftLint version 0.57.1
1 parent 3db8072 commit 9ea85a6

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/swiftlint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
SwiftLint:
1111
runs-on: ubuntu-latest
1212
container:
13-
image: ghcr.io/realm/swiftlint:0.52.2
13+
image: ghcr.io/realm/swiftlint:0.58.0
1414
steps:
1515
- uses: actions/checkout@v3
1616
- name: Run SwiftLint

Source/SourceKittenFramework/SwiftVersion.swift

-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ struct SwiftVersion: RawRepresentable, Comparable {
44

55
let rawValue: String
66

7-
init(rawValue: String) {
8-
self.rawValue = rawValue
9-
}
10-
117
/// Comparable
128
static func < (lhs: SwiftVersion, rhs: SwiftVersion) -> Bool {
139
return lhs.rawValue < rhs.rawValue

0 commit comments

Comments
 (0)