Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,17 @@ jobs:
# libssl-dev which is not installed on swift:6.2-noble
# Using swift:6.2-amazonlinux2 is not a solution
# because the @checkout action doesn't works on ALI2 (requires Node.js 20)
# will re-enable when Amazon Linux 2023 will be available
api_breakage_check_enabled: false
api_breakage_check_container_image: "swift:6.2-noble"
docs_check_container_image: "swift:6.2-noble"

# disabled because images needs libssl-dev (which excludes swift:6.2-noble)
# and Node 20+ (for the checkout action), whcih excludes Amazon Linux 2
# will re-enable when Amazon Linux 2023 will be available
docs_check_enabled: false
docs_check_container_image: "swift:6.2-amazonlinux2"

format_check_enabled: true
format_check_container_image: "swift:6.2-noble"
yamllint_check_enabled: true

Expand Down Expand Up @@ -83,7 +91,7 @@ jobs:
# We pass the list of examples here, but we can't pass an array as argument
# Instead, we pass a String with a valid JSON array.
# The workaround is mentioned here https://github.com/orgs/community/discussions/11692
examples: "[ 'api-key', 'converse', 'converse-stream', 'openai', 'text_chat' ]"
examples: "[ 'api-key', 'converse', 'converse-stream', 'embeddings', 'openai', 'text_chat' ]"

swift-6-language-mode:
name: Swift 6 Language Mode
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Package.resolved
Makefile
**/temp
node_modules
docc-output

# **/backend
**/backend/.DS_Store
Expand Down
4 changes: 4 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: 1
builder:
configs:
- documentation_targets: [BedrockService]
1 change: 1 addition & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ let package = Package(
.package(url: "https://github.com/smithy-lang/smithy-swift", from: "0.158.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.4"),
.package(url: "https://github.com/awslabs/aws-crt-swift", from: "0.53.0"),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
],
targets: [
.target(
Expand Down
Loading