Migrate CI to use GitHub Actions. (#234)

### Motivation:

To migrate to GitHub actions and centralised infrastructure.

### Modifications:

Changes of note:
* Adopt swift-format using rules from SwiftNIO
* Remove scripts and docker files which are no longer needed

### Result:

Feature parity with old CI.
This commit is contained in:
Rick Newton-Rogers authored and GitHub committed 2024-10-28 14:00:57 +00:00
1 parent 11b7d82b51
commit 3f776e9aaf
125 files changed
+4697 -3338

No files matched your search

@@ -32,8 +32,8 @@ private enum HTTP2TypeConversionError: Error {
case pseudoFieldInTrailers
}
private extension HPACKIndexing {
init(_ newIndexingStrategy: HTTPField.DynamicTableIndexingStrategy) {
extension HPACKIndexing {
fileprivate init(_ newIndexingStrategy: HTTPField.DynamicTableIndexingStrategy) {
switch newIndexingStrategy {
case .avoid: self = .nonIndexable
case .disallow: self = .neverIndexed
@@ -42,8 +42,8 @@ private extension HPACKIndexing {
}
}
private extension HTTPField.DynamicTableIndexingStrategy {
init(_ oldIndexing: HPACKIndexing) {
extension HTTPField.DynamicTableIndexingStrategy {
fileprivate init(_ oldIndexing: HPACKIndexing) {
switch oldIndexing {
case .indexable: self = .automatic
case .nonIndexable: self = .avoid
@@ -221,7 +221,8 @@ extension HTTPResponse {
throw HTTP2TypeConversionError.missingStatus
}
guard let status = Int(statusString),
(0 ... 999).contains(status) else {
(0...999).contains(status)
else {
throw HTTP2TypeConversionError.invalidStatus
}