Skip to content

Replace platforms: block with per-API @available annotations #39

Replace platforms: block with per-API @available annotations

Replace platforms: block with per-API @available annotations #39

Workflow file for this run

name: Pull request
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
tests:
name: Test
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@0.0.9
with:
swift_flags: "-Xswiftc -warnings-as-errors"
swift_nightly_flags: "--build-system native -Xswiftc -warnings-as-errors" # workaround nightly-main issue
enable_macos_checks: true
macos_exclude_xcode_versions: "[{\"xcode_version\": \"16.4\"}, {\"xcode_version\": \"26.3\"}]"
enable_linux_checks: true
linux_swift_versions: '["nightly-main", "nightly-6.3", "6.3"]'
linux_build_command: "swift test -c release"
enable_windows_checks: false
enable_android_sdk_build: false
enable_embedded_wasm_sdk_build: false
enable_linux_static_sdk_build: false
soundness:
name: Soundness
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
with:
api_breakage_check_enabled: false
shell_check_enabled: false
license_header_check_project_name: "Swift"
api_breakage_check_container_image: "swiftlang/swift:nightly-6.3-jammy"