File tree 3 files changed +60
-2
lines changed
Sources/DependencyResolution
3 files changed +60
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright Dave Verwer, Sven A. Schmidt, and other contributors.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ name : CI
16
+
17
+ on :
18
+ workflow_dispatch :
19
+ push :
20
+ branches : [ main ]
21
+ pull_request :
22
+ branches : [ main ]
23
+
24
+ jobs :
25
+ macOS :
26
+ # https://github.com/actions/runner-images
27
+ runs-on : macos-15
28
+ strategy :
29
+ matrix :
30
+ xcode :
31
+ - ' 16.3'
32
+ steps :
33
+ - uses : actions/checkout@v3
34
+ - name : Get swift version
35
+ run : env DEVELOPER_DIR="/Applications/Xcode_${{ matrix.xcode }}.app" swift --version
36
+ # - name: Test
37
+ # run: env DEVELOPER_DIR="/Applications/Xcode_${{ matrix.xcode }}.app" swift test
38
+ - name : Build release
39
+ run : env DEVELOPER_DIR="/Applications/Xcode_${{ matrix.xcode }}.app" swift build -c release
40
+
41
+ Linux :
42
+ # https://github.com/actions/runner-images
43
+ runs-on : ubuntu-latest
44
+ strategy :
45
+ matrix :
46
+ image :
47
+ - swift:6.0
48
+ - swift:6.1
49
+ container :
50
+ image : ${{ matrix.image }}
51
+ steps :
52
+ - uses : actions/checkout@v3
53
+ - name : Get swift version
54
+ run : swift --version
55
+ # - name: Test
56
+ # run: swift test
57
+ - name : Build release
58
+ run : swift build -c release
Original file line number Diff line number Diff line change 13
13
// limitations under the License.
14
14
15
15
16
- public struct ProductDependency : Codable , Equatable {
16
+ public struct ProductDependency : Codable , Equatable , Sendable {
17
17
public var identity : String
18
18
public var name : String
19
19
public var url : String
Original file line number Diff line number Diff line change 13
13
// limitations under the License.
14
14
15
15
16
- public struct ResolvedDependency : Codable , Equatable {
16
+ public struct ResolvedDependency : Codable , Equatable , Sendable {
17
17
public var packageName : String
18
18
public var repositoryURL : String
19
19
You can’t perform that action at this time.
0 commit comments