Skip to content

[CI] Add support for GitHub Actions #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 26, 2025
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
28 changes: 28 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions .license_header_template
Original file line number Diff line number Diff line change
@@ -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
@@
@@===----------------------------------------------------------------------===@@
3 changes: 3 additions & 0 deletions .licenseignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Package.swift
[email protected]
LICENSE
1 change: 0 additions & 1 deletion Sources/_SubprocessCShims/include/target_conditionals.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
//===----------------------------------------------------------------------===//

Expand Down
2 changes: 1 addition & 1 deletion Tests/SubprocessTests/SubprocessTests+Windows.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//
// See https://swift.org/LICENSE.txt for license information
//
//===---------------------------------------------------------------------s-===//
//===----------------------------------------------------------------------===//

#if canImport(WinSDK)

Expand Down