Skip to content

Commit 658833f

Browse files
committed
fix tests
1 parent 05b704d commit 658833f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/swift.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ on:
44
jobs:
55
focal:
66
container:
7-
image: swiftlang/swift:nightly-6.0-focal
7+
image: swift:6.2-bookworm
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v1
1111
- run: swift test
1212
thread:
1313
container:
14-
image: swiftlang/swift:nightly-6.0-focal
14+
image: swift:6.2-bookworm
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v1
1818
- run: swift test --sanitize=thread
1919
address:
2020
container:
21-
image: swiftlang/swift:nightly-6.0-focal
21+
image: swift:6.2-bookworm
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v1

Sources/APNS/APNSBroadcastClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import NIOTLS
2424
import NIOPosix
2525

2626
/// A client for managing Apple Push Notification broadcast channels.
27-
public final class APNSBroadcastClient<Decoder: APNSJSONDecoder, Encoder: APNSJSONEncoder>: APNSBroadcastClientProtocol {
27+
public final class APNSBroadcastClient<Decoder: APNSJSONDecoder & Sendable, Encoder: APNSJSONEncoder & Sendable>: APNSBroadcastClientProtocol {
2828

2929
/// The broadcast environment to use.
3030
private let environment: APNSBroadcastEnvironment

0 commit comments

Comments
 (0)