Skip to content

Commit b11cd99

Browse files
committed
codecov-action@v4
1 parent 8681236 commit b11cd99

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- name: Upload Coverage
2525
uses: codecov/codecov-action@v4
2626
with:
27+
token: ${{ secrets.CODECOV_TOKEN }}
2728
files: ./coverage_report.lcov
2829

2930
xcode_14_3_1:

Package@swift-5.8.swift

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// swift-tools-version:5.8
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "AllocatedLock",
7+
platforms: [
8+
.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6)
9+
],
10+
products: [
11+
.library(
12+
name: "AllocatedLock",
13+
targets: ["AllocatedLock"]
14+
)
15+
],
16+
targets: [
17+
.target(
18+
name: "AllocatedLock",
19+
path: "Sources",
20+
swiftSettings: .upcomingFeatures
21+
),
22+
.testTarget(
23+
name: "AllocatedLockTests",
24+
dependencies: ["AllocatedLock"],
25+
path: "Tests",
26+
swiftSettings: .upcomingFeatures
27+
)
28+
]
29+
)
30+
31+
extension Array where Element == SwiftSetting {
32+
33+
static var upcomingFeatures: [SwiftSetting] {
34+
[
35+
.enableExperimentalFeature("StrictConcurrency")
36+
]
37+
}
38+
}

0 commit comments

Comments
 (0)