Skip to content

Commit 58a276a

Browse files
authored
[CI] Update to Swift 6 CI (#652)
# Motivation We just updated our CI matrix in NIO to only support 5.9, 5.10 and 6. # Modification This PR updates the trigger files in this repo. Since this repo was always 5.9+ this is easy. # Result Up to date CI
1 parent dffd9d1 commit 58a276a

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,16 @@ jobs:
1010
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
1111
with:
1212
api_breakage_check_enabled: false
13-
broken_symlink_check_enabled: true
14-
docs_check_enabled: true
15-
format_check_enabled: true
16-
license_header_check_enabled: true
1713
license_header_check_project_name: "SwiftOpenAPIGenerator"
18-
shell_check_enabled: true
19-
unacceptable_language_check_enabled: true
2014
yamllint_check_enabled: false
2115

2216
unit-tests:
2317
name: Unit tests
2418
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
2519
with:
26-
linux_5_8_enabled: false
2720
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error"
2821
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
22+
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
2923
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error"
3024
linux_nightly_main_enabled: false
3125

@@ -35,7 +29,6 @@ jobs:
3529
with:
3630
name: "Integration test"
3731
matrix_linux_command: "apt-get update -yq && apt-get install -yq jq && SWIFT_OPENAPI_GENERATOR_REPO_URL=file://${GITHUB_WORKSPACE} ./scripts/run-integration-test.sh"
38-
matrix_linux_5_8_enabled: false
3932
matrix_linux_nightly_main_enabled: false
4033

4134
compatibility-test:
@@ -63,7 +56,6 @@ jobs:
6356
with:
6457
name: "Example packages"
6558
matrix_linux_command: "./scripts/test-examples.sh"
66-
matrix_linux_5_8_enabled: false
6759
matrix_linux_nightly_main_enabled: false
6860

6961
swift-6-language-mode:

.github/workflows/scheduled.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
name: Unit tests
1010
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
1111
with:
12-
linux_5_8_enabled: false
1312
linux_5_9_arguments_override: "--explicit-target-dependency-import-check error"
1413
linux_5_10_arguments_override: "--explicit-target-dependency-import-check error"
14+
linux_6_0_arguments_override: "--explicit-target-dependency-import-check error"
1515
linux_nightly_6_0_arguments_override: "--explicit-target-dependency-import-check error"
1616
linux_nightly_main_arguments_override: "--explicit-target-dependency-import-check error"
1717

@@ -21,12 +21,10 @@ jobs:
2121
with:
2222
name: "Integration test"
2323
matrix_linux_command: "apt-get update -yq && apt-get install -yq jq && SWIFT_OPENAPI_GENERATOR_REPO_URL=file://${GITHUB_WORKSPACE} ./scripts/run-integration-test.sh"
24-
matrix_linux_5_8_enabled: false
2524

2625
example-packages:
2726
name: Example packages
2827
uses: apple/swift-nio/.github/workflows/swift_matrix.yml@main
2928
with:
3029
name: "Example packages"
3130
matrix_linux_command: "./scripts/test-examples.sh"
32-
matrix_linux_5_8_enabled: false

0 commit comments

Comments
 (0)