Skip to content

Commit

Permalink
Merge pull request #15 from giginet/drop-swift5-support
Browse files Browse the repository at this point in the history
Drop Swift 5.10 and Xcode 15 support
  • Loading branch information
giginet authored Sep 15, 2024
2 parents c80b75e + 3b7276e commit 9e43602
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 109 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
Tests:
strategy:
matrix:
xcode_version: ["15.4", "16.0"]
xcode_version: ["16.0"]
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode_version }}.app/Contents/Developer"
runs-on: macos-14
Expand Down
2 changes: 1 addition & 1 deletion Package.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "df3f1a8be085a05271d6c59388f575eb81f6d630eee7d13519d83184f3f3f55d",
"originHash" : "08b7f562030c50b0845a8fa4260a424c9a13d99115aad21c8e2165815e354c4b",
"pins" : [
{
"identity" : "swift-argument-parser",
Expand Down
77 changes: 0 additions & 77 deletions [email protected]

This file was deleted.

16 changes: 0 additions & 16 deletions Plugins/RevolutionaryPlugin/Plugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,3 @@ private func performTool(executablePath: URL, arguments: [String]) throws {
print("Converting all test files is succeeded")
}
}

#if compiler(<6.0)

extension Path {
fileprivate var url: URL {
URL(filePath: string)
}
}

extension PluginContext.Tool {
fileprivate var url: URL {
path.url
}
}

#endif
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

[![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/giginet/swift-testing-revolutionary/tests.yml?style=flat-square&logo=github)](https://github.com/giginet/swift-testing-revolutionary/actions/workflows/tests.yml)
![Swift 6.0](https://img.shields.io/badge/Swift-6.0-FA7343?logo=swift&style=flat-square)
![Swift 5.10](https://img.shields.io/badge/Swift-5.10-FA7343?logo=swift&style=flat-square)
[![Xcode 16.0](https://img.shields.io/badge/Xcode-16.0?style=flat-square&logo=xcode&link=https%3A%2F%2Fdeveloper.apple.com%2Fxcode%2F)](https://developer.apple.com/xcode/)
[![Xcode 15.4](https://img.shields.io/badge/Xcode-15.4-147EFB?style=flat-square&logo=xcode&link=https%3A%2F%2Fdeveloper.apple.com%2Fxcode%2F)](https://developer.apple.com/xcode/)
[![SwiftPM](https://img.shields.io/badge/SwiftPM-compatible-green?logo=swift&style=flat-square)](https://swift.org/package-manager/)
![Platforms](https://img.shields.io/badge/Platform-macOS-lightgray?logo=apple&style=flat-square)
[![License](https://img.shields.io/badge/License-MIT-darkgray?style=flat-square)
Expand Down
4 changes: 2 additions & 2 deletions Tests/RevolutionKitTests/ConversionTestFixture.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ struct ConversionTestFixture: CustomTestStringConvertible {
let expected: String
let sourceLocation: SourceLocation

init(_ source: String, _ expected: String, _ line: UInt = #line) {
init(_ source: String, _ expected: String, _ sourceLocation: SourceLocation = #_sourceLocation) {
self.source = source
self.expected = expected
self.sourceLocation = SourceLocation(line: Int(line))
self.sourceLocation = sourceLocation
}

enum Expected {
Expand Down
10 changes: 0 additions & 10 deletions Tests/RevolutionKitTests/SwiftTestingBridge.swift

This file was deleted.

0 comments on commit 9e43602

Please sign in to comment.