[doc] Update readme.md with link to SPI deployment doc #410
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
soundness: | |
name: Soundness | |
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main | |
with: | |
license_header_check_project_name: "SwiftAWSLambdaRuntime" | |
shell_check_enabled: true | |
python_lint_check_enabled: true | |
api_breakage_check_container_image: "swift:6.0-noble" | |
docs_check_container_image: "swift:6.0-noble" | |
format_check_container_image: "swiftlang/swift:nightly-6.0-jammy" | |
yamllint_check_enabled: true | |
unit-tests: | |
name: Unit tests | |
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main | |
with: | |
linux_5_9_enabled: false | |
linux_5_10_enabled: false | |
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error" | |
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error" | |
integration-tests: | |
name: Integration Tests | |
uses: ./.github/workflows/integration_tests.yml | |
with: | |
name: "Integration tests" | |
examples_enabled: true | |
matrix_linux_command: "LAMBDA_USE_LOCAL_DEPS=../.. swift build" | |
# 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: "[ 'APIGateway', 'BackgroundTasks', 'HelloJSON', 'HelloWorld', 'S3_AWSSDK', 'S3_Soto', 'Streaming', 'Testing' ]" | |
archive_plugin_enabled: true | |
swift-6-language-mode: | |
name: Swift 6 Language Mode | |
uses: apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main | |
semver-label-check: | |
name: Semantic Version label check | |
runs-on: ubuntu-latest | |
timeout-minutes: 1 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Check for Semantic Version label | |
uses: apple/swift-nio/.github/actions/pull_request_semver_label_checker@main | |
# until there is a support for musl in swiftlang/github-workflows | |
# https://github.com/swiftlang/github-workflows/issues/34 | |
musl: | |
runs-on: ubuntu-latest | |
container: swift:6.0.2-noble | |
timeout-minutes: 30 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install SDK | |
run: swift sdk install https://download.swift.org/swift-6.0.2-release/static-sdk/swift-6.0.2-RELEASE/swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz --checksum aa5515476a403797223fc2aad4ca0c3bf83995d5427fb297cab1d93c68cee075 | |
- name: Build | |
run: swift build --swift-sdk x86_64-swift-linux-musl |