diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7908796f6..533c3e0d2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,6 +39,8 @@ jobs: strategy: matrix: include: + - macOS: '14' + xcode: '16.2' - macOS: '15' xcode: '16.4' - macOS: '26' diff --git a/CHANGELOG.md b/CHANGELOG.md index acda28406..1d6ebb76c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,8 @@ ### Bug Fixes -* None. +* Remove trailing comma making the code base again compilable with at least Swift 6.0. + [SimplyDanny](https://github.com/SimplyDanny) ## 0.62.0: Generous Drum Volume diff --git a/Source/SwiftLintBuiltInRules/Rules/Style/SortedImportsRule.swift b/Source/SwiftLintBuiltInRules/Rules/Style/SortedImportsRule.swift index 2d8b6b4ba..ec19186ff 100644 --- a/Source/SwiftLintBuiltInRules/Rules/Style/SortedImportsRule.swift +++ b/Source/SwiftLintBuiltInRules/Rules/Style/SortedImportsRule.swift @@ -175,7 +175,7 @@ private struct Import: Comparable { importDecl: importDecl, line: startLine, offset: locationConverter.location(for: importDecl.path.endPositionBeforeTrailingTrivia).line - startLine, - attributes: attributes.joined(), + attributes: attributes.joined() ) } diff --git a/Tests/MacroTests/XCTestCase+FailureHandler.swift b/Tests/MacroTests/XCTestCase+FailureHandler.swift index 01e9a360b..a02a5e4d2 100644 --- a/Tests/MacroTests/XCTestCase+FailureHandler.swift +++ b/Tests/MacroTests/XCTestCase+FailureHandler.swift @@ -8,7 +8,7 @@ extension XCTestCase { XCTFail( spec.message, file: filePath, - line: UInt(spec.location.line), + line: UInt(spec.location.line) ) } }