diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..767f5fb --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,28 @@ +name: Pull request + +on: + pull_request: + types: [opened, reopened, synchronize] + +jobs: + tests: + name: Test + uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main + with: + linux_os_versions: '["noble", "jammy", "focal", "rhel-ubi9"]' + linux_swift_versions: '["6.1", "nightly-main"]' + linux_build_command: 'swift build' + windows_swift_versions: '["6.1", "nightly-main"]' + windows_build_command: 'swift build' + enable_macos_checks: true + macos_xcode_versions: '["16.3"]' + + soundness: + name: Soundness + uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main + with: + license_header_check_project_name: "Swift.org" + docs_check_enabled: false + format_check_enabled: false + unacceptable_language_check_enabled: false + api_breakage_check_enabled: false diff --git a/.license_header_template b/.license_header_template new file mode 100644 index 0000000..c784192 --- /dev/null +++ b/.license_header_template @@ -0,0 +1,10 @@ +@@===----------------------------------------------------------------------===@@ +@@ +@@ This source file is part of the Swift.org open source project +@@ +@@ Copyright (c) YEARS Apple Inc. and the Swift project authors +@@ Licensed under Apache License v2.0 with Runtime Library Exception +@@ +@@ See https://swift.org/LICENSE.txt for license information +@@ +@@===----------------------------------------------------------------------===@@ diff --git a/.licenseignore b/.licenseignore new file mode 100644 index 0000000..c9b1be8 --- /dev/null +++ b/.licenseignore @@ -0,0 +1,3 @@ +Package.swift +Package@swift-6.0.swift +LICENSE diff --git a/Sources/_SubprocessCShims/include/target_conditionals.h b/Sources/_SubprocessCShims/include/target_conditionals.h index fef2eaf..aaa4a60 100644 --- a/Sources/_SubprocessCShims/include/target_conditionals.h +++ b/Sources/_SubprocessCShims/include/target_conditionals.h @@ -6,7 +6,6 @@ // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information -// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // //===----------------------------------------------------------------------===// diff --git a/Tests/SubprocessTests/SubprocessTests+Windows.swift b/Tests/SubprocessTests/SubprocessTests+Windows.swift index a78b9a0..8e20711 100644 --- a/Tests/SubprocessTests/SubprocessTests+Windows.swift +++ b/Tests/SubprocessTests/SubprocessTests+Windows.swift @@ -7,7 +7,7 @@ // // See https://swift.org/LICENSE.txt for license information // -//===---------------------------------------------------------------------s-===// +//===----------------------------------------------------------------------===// #if canImport(WinSDK)