Skip to content

Commit 6a627d1

Browse files
Merge branch 'main' into add-forked-from-ui
2 parents 5e26cd4 + 08fb3dc commit 6a627d1

23 files changed

+88
-114
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ on:
2020
schedule:
2121
- cron: "0 8 * * *"
2222

23+
concurrency:
24+
group: ${{ github.workflow }}-${{ github.ref }}
25+
cancel-in-progress: true
26+
2327
jobs:
2428
test-linux:
2529
name: Test

.github/workflows/lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
workflow_dispatch:
1919
push:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
2125
jobs:
2226
lint-front-end:
2327
name: Lint Front-End

.github/workflows/query-performance.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
workflow_dispatch:
1919
push:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
2125
jobs:
2226
test-linux:
2327
name: Query Performance Test

.github/workflows/snapshots.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
workflow_dispatch:
1919
push:
2020

21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
2125
jobs:
2226
snapshots:
2327
name: Image Snapshots

Package.resolved

Lines changed: 37 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ let package = Package(
4242
.package(url: "https://github.com/pointfreeco/swift-parsing.git", from: "0.12.0"),
4343
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing.git", from: "1.11.1"),
4444
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.3.2"),
45-
.package(url: "https://github.com/soto-project/soto.git", from: "7.0.0"),
45+
.package(url: "https://github.com/soto-project/soto.git", from: "6.0.0"),
46+
.package(url: "https://github.com/vapor-community/soto-cognito-authentication.git", from: "4.0.0"),
4647
.package(url: "https://github.com/vapor/fluent-postgres-driver.git", from: "2.0.0"),
4748
.package(url: "https://github.com/vapor/fluent.git", from: "4.0.0"),
4849
.package(url: "https://github.com/vapor/jwt-kit.git", from: "4.13.0"),
@@ -72,6 +73,7 @@ let package = Package(
7273
.product(name: "SwiftPMPackageCollections", package: "swift-package-manager"),
7374
.product(name: "Vapor", package: "vapor"),
7475
.product(name: "VaporToOpenAPI", package: "VaporToOpenAPI"),
76+
.product(name: "SotoCognitoAuthentication", package: "soto-cognito-authentication")
7577
],
7678
swiftSettings: swiftSettings,
7779
linkerSettings: [.unsafeFlags(["-Xlinker", "-interposable"],

Sources/App/Views/PackageController/SwiftVersion+BuildResultPresentable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ extension SwiftVersion: BuildResultPresentable {
1717
var longDisplayName: String { "Swift \(displayName)" }
1818
var note: String? {
1919
switch self {
20-
case .v6_0: return "beta"
20+
// case .v6_0: return "beta"
2121
default: return nil
2222
}
2323
}

Sources/S3Store/S3Store.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ public struct S3Store {
3131
}
3232

3333
public func save(payload: Data, to key: Key) async throws {
34-
let client = AWSClient(credentialProvider: .static(accessKeyId: credentials.keyId, secretAccessKey: credentials.secret))
34+
let client = AWSClient(credentialProvider: .static(accessKeyId: credentials.keyId, secretAccessKey: credentials.secret),
35+
httpClientProvider: .createNew)
3536
do {
3637
let s3 = S3(client: client, region: Self.region)
3738
let req = S3.PutObjectRequest(
3839
acl: .publicRead, // requires "Block all public access" to be "off"
39-
body: .init(buffer: .init(data: payload)),
40+
body: .data(payload),
4041
bucket: key.bucket,
4142
key: key.path
4243
)

Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_BuildIndex.1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ <h2>Build Results</h2>
104104
<a href="https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/new/choose">raise an issue</a>.
105105
</p>
106106
<hr/>
107-
<h3>Swift 6.0 (beta)</h3>
107+
<h3>Swift 6.0</h3>
108108
<ul class="matrix builds">
109109
<li class="row">
110110
<div class="row-labels">

Tests/AppTests/__Snapshots__/WebpageSnapshotTests/test_PackageShowView.1.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,7 @@ <h3>Compatibility</h3>
187187
</p>
188188
</div>
189189
<div class="column-labels">
190-
<div>6.0
191-
<small>(beta)</small>
192-
</div>
190+
<div>6.0</div>
193191
<div>5.10</div>
194192
<div>5.9</div>
195193
<div>5.8</div>
@@ -208,9 +206,7 @@ <h3>Compatibility</h3>
208206
</p>
209207
</div>
210208
<div class="column-labels">
211-
<div>6.0
212-
<small>(beta)</small>
213-
</div>
209+
<div>6.0</div>
214210
<div>5.10</div>
215211
<div>5.9</div>
216212
<div>5.8</div>

0 commit comments

Comments
 (0)