From 9b366e4138bd30a53ed63c0dfd0b58c4e64befc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danny=20M=C3=B6sch?= Date: Sat, 30 Nov 2024 14:01:46 +0100 Subject: [PATCH] Use latest SwiftLint version 0.58.2 --- .github/workflows/swiftlint.yml | 2 +- Source/SourceKittenFramework/SwiftVersion.swift | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/swiftlint.yml b/.github/workflows/swiftlint.yml index 55dc90b42..a40a4eed9 100644 --- a/.github/workflows/swiftlint.yml +++ b/.github/workflows/swiftlint.yml @@ -10,7 +10,7 @@ jobs: SwiftLint: runs-on: ubuntu-latest container: - image: ghcr.io/realm/swiftlint:0.52.2 + image: ghcr.io/realm/swiftlint:0.58.2 steps: - uses: actions/checkout@v3 - name: Run SwiftLint diff --git a/Source/SourceKittenFramework/SwiftVersion.swift b/Source/SourceKittenFramework/SwiftVersion.swift index 2e4a184a4..5e3132071 100644 --- a/Source/SourceKittenFramework/SwiftVersion.swift +++ b/Source/SourceKittenFramework/SwiftVersion.swift @@ -4,10 +4,6 @@ struct SwiftVersion: RawRepresentable, Comparable { let rawValue: String - init(rawValue: String) { - self.rawValue = rawValue - } - /// Comparable static func < (lhs: SwiftVersion, rhs: SwiftVersion) -> Bool { return lhs.rawValue < rhs.rawValue