Skip to content

Commit 1533aed

Browse files
committed
[GHA] Update to the latest workflows
# Motivation I made more progress on the reusable workflows in NIO so it's even easier to adopt them. # Modification This PR fixes up the renamed workflow references and adds unit tests and cxx-interop checks. # Result Green GH actions CI
1 parent fa72f86 commit 1533aed

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

.github/workflows/pull_request.yml

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
11
name: Pull Request
22

33
on:
4-
pull_request:
5-
types: [opened, reopened, synchronize, ready_for_review]
6-
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
77
jobs:
8-
call-reusable-pull-request-workflow:
9-
name: Checks
10-
uses: apple/swift-nio/.github/workflows/reusable_pull_request.yml@main
11-
with:
12-
benchmarks_linux_enabled: false
13-
unacceptable_language_check_enabled: false
14-
license_header_check_project_name: "SwiftOpenAPIGenerator"
8+
soundness:
9+
name: Soundness
10+
uses: apple/swift-nio/.github/workflows/soundness.yml@main
11+
with:
12+
license_header_check_project_name: "SwiftOpenAPIGenerator"
13+
unacceptable_language_check_enabled: false
14+
15+
unit-tests:
16+
name: Checks
17+
uses: apple/swift-nio/.github/workflows/unit_tests.yml@main
18+
with:
19+
linux_5_8_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
20+
linux_5_9_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
21+
linux_5_10_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
22+
linux_nightly_6_0_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
23+
linux_nightly_main_arguments_override: "-Xswiftc -warnings-as-errors --explicit-target-dependency-import-check error"
24+
25+
cxx-interop:
26+
name: Checks
27+
uses: apple/swift-nio/.github/workflows/cxx_interop.yml@main

0 commit comments

Comments
 (0)