Require Swift 5.2 or higher to build (#3413)
Swift 5.2 has been officially released for over 7 months now, there's no reason to keep supporting earlier versions when _building_ SwiftLint. However, SwiftLint still supports _linting_ back up to Swift 3.0.
This commit is contained in:
parent
2950826bb1
commit
b2b95cf403
|
@ -1 +0,0 @@
|
|||
5.1
|
|
@ -2,7 +2,8 @@
|
|||
|
||||
#### Breaking
|
||||
|
||||
* None.
|
||||
* SwiftLint now requires Swift 5.2 or higher to build.
|
||||
[JP Simard](https://github.com/jpsim)
|
||||
|
||||
#### Experimental
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ Pod::Spec.new do |s|
|
|||
s.author = { 'JP Simard' => 'jp@jpsim.com' }
|
||||
s.platform = :osx, '10.10'
|
||||
s.source_files = 'Source/SwiftLintFramework/**/*.swift'
|
||||
s.swift_versions = ['5.1', '5.2']
|
||||
s.swift_versions = ['5.2', '5.3']
|
||||
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
|
||||
s.dependency 'SourceKittenFramework', '~> 0.30.1'
|
||||
s.dependency 'Yams', '~> 4.0'
|
||||
|
|
|
@ -8,8 +8,6 @@ jobs:
|
|||
strategy:
|
||||
maxParallel: 10
|
||||
matrix:
|
||||
swift51:
|
||||
containerImage: swift:5.1
|
||||
swift52:
|
||||
containerImage: swift:5.2
|
||||
swift53:
|
||||
|
@ -25,14 +23,6 @@ jobs:
|
|||
strategy:
|
||||
maxParallel: 10
|
||||
matrix:
|
||||
xcode110:
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.app
|
||||
xcode111:
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.1.app
|
||||
xcode112:
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.2.1.app
|
||||
xcode113:
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app
|
||||
xcode114:
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.4.app
|
||||
xcode115:
|
||||
|
@ -67,14 +57,6 @@ jobs:
|
|||
strategy:
|
||||
maxParallel: 10
|
||||
matrix:
|
||||
xcode110:
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.app
|
||||
xcode111:
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.1.app
|
||||
xcode112:
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.2.1.app
|
||||
xcode113:
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.3.1.app
|
||||
xcode114:
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.4.app
|
||||
xcode115:
|
||||
|
|
Loading…
Reference in New Issue