diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 14ff68ec..dedd58ea 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -12,7 +12,7 @@ jobs: name: Test uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main with: - linux_os_versions: '["amazonlinux2", "bookworm", "noble", "jammy", "rhel-ubi9"]' + linux_os_versions: '["amazonlinux2023", "bookworm", "noble", "jammy", "rhel-ubi9"]' linux_swift_versions: '["6.2", "nightly-main"]' linux_pre_build_command: | if command -v apt-get >/dev/null 2>&1 ; then # bookworm, noble, jammy @@ -24,17 +24,14 @@ jobs: apt-get update -y apt-get install -y procps fi - elif command -v dnf >/dev/null 2>&1 ; then # rhel-ubi9 + elif command -v dnf >/dev/null 2>&1 ; then # amazonlinux2023, rhel-ubi9 dnf update -y # Test dependencies dnf install -y procps - elif command -v yum >/dev/null 2>&1 ; then # amazonlinux2 - yum update -y - - # Test dependencies - yum install -y procps fi + linux_exclude_swift_versions: '[{"swift_version": "6.2", "os_version": "amazonlinux2023"}]' + linux_static_sdk_exclude_swift_versions: '[{"swift_version": "6.2", "os_version": "amazonlinux2023"}, {"swift_version": "nightly-main", "os_version": "amazonlinux2023"}]' linux_build_command: "swift test && swift test -c release && swift test --disable-default-traits" enable_freebsd_checks: true freebsd_build_command: "swift test && swift test -c release && swift test --disable-default-traits"