File tree 5 files changed +16
-16
lines changed
5 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 18
18
jobs :
19
19
test :
20
20
name : Test on ${{ matrix.platform.os }} using Xcode ${{ matrix.xcode }}
21
- runs-on : macos-13
21
+ runs-on : macos-14
22
22
23
23
env :
24
24
xcodeproj : JWTDecode.xcodeproj
30
30
- { os: macOS, scheme: JWTDecode-macOS }
31
31
- { os: tvOS, scheme: JWTDecode-tvOS }
32
32
xcode :
33
- - ' 15.0 .1'
33
+ - ' 16 .1'
34
34
35
35
steps :
36
36
- name : Checkout
@@ -61,12 +61,12 @@ jobs:
61
61
62
62
test-package :
63
63
name : Test Swift package using Xcode ${{ matrix.xcode }}
64
- runs-on : macos-13
64
+ runs-on : macos-14
65
65
66
66
strategy :
67
67
matrix :
68
68
xcode :
69
- - ' 15.0 .1'
69
+ - ' 16 .1'
70
70
71
71
steps :
72
72
- name : Checkout
@@ -83,12 +83,12 @@ jobs:
83
83
84
84
pod-lint :
85
85
name : Lint podspec using Xcode ${{ matrix.xcode }}
86
- runs-on : macos-13 -xlarge
86
+ runs-on : macos-14 -xlarge
87
87
88
88
strategy :
89
89
matrix :
90
90
xcode :
91
- - ' 15.2 '
91
+ - ' 16.1 '
92
92
93
93
steps :
94
94
- name : Checkout
@@ -105,11 +105,14 @@ jobs:
105
105
106
106
swiftlint :
107
107
name : Lint code with SwiftLint
108
- runs-on : macos-13
108
+ runs-on : macos-14
109
109
110
110
steps :
111
111
- name : Checkout
112
112
uses : actions/checkout@v4
113
113
114
+ - name : Install SwiftLint
115
+ run : brew install swiftlint
116
+
114
117
- name : Run SwiftLint
115
118
run : swiftlint lint --reporter github-actions-logging
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ Pod::Spec.new do |s|
19
19
s . visionos . deployment_target = '1.0'
20
20
21
21
s . source_files = 'JWTDecode/*.swift'
22
- s . swift_versions = [ '5.9 ' ]
22
+ s . swift_versions = [ '6.0' , '6.1 ']
23
23
end
Original file line number Diff line number Diff line change @@ -410,11 +410,7 @@ class JWTDecodeSpec: XCTestCase {
410
410
}
411
411
}
412
412
413
- #if compiler(>=6.0)
414
413
extension JWTDecodeError : @retroactive Equatable { }
415
- #else
416
- extension JWTDecodeError : Equatable { }
417
- #endif
418
414
419
415
public func == ( lhs: JWTDecodeError , rhs: JWTDecodeError ) -> Bool {
420
416
return lhs. localizedDescription == rhs. localizedDescription && lhs. errorDescription == rhs. errorDescription
Original file line number Diff line number Diff line change 1
- // swift-tools-version:5.9
1
+ // swift-tools-version:6.0
2
2
3
3
import PackageDescription
4
4
@@ -24,5 +24,6 @@ let package = Package(
24
24
. product( name: " Nimble " , package : " Nimble " ) ,
25
25
] ,
26
26
path: " JWTDecodeTests " ,
27
- exclude: [ " Info.plist " ] )
27
+ exclude: [ " Info.plist " ] ,
28
+ swiftSettings: [ . swiftLanguageMode( . v5) ] )
28
29
] )
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ Migrating from v2? Check the [Migration Guide](V3_MIGRATION_GUIDE.md).
27
27
### Requirements
28
28
29
29
- iOS 14.0+ / macOS 11.0+ / tvOS 14.0+ / watchOS 7.0+
30
- - Xcode 15 .x
31
- - Swift 5.9 +
30
+ - Xcode 16 .x
31
+ - Swift 6.0 +
32
32
33
33
### Installation
34
34
You can’t perform that action at this time.
0 commit comments