Skip to content

Commit fc50ff7

Browse files
authored
ci: Use the shared soundness workflow from swiftlang/github-workflows (#20)
### Motivation `swiftlang/github-workflows` is the final home for the shared soundness workflows which started in `apple/swift-nio`. ### Modifications Use the soundness workflow from `swiftlang/github-workflows`. Fix complaints from the new YAML linter step. ### Result We will pull the shared workflow from the correct final location, so we will continue to receive updates. ### Test Plan CI continues to pass.
1 parent 7ccb30b commit fc50ff7

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

.github/workflows/pull_request.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: PR
22

33
on:
44
pull_request:
5-
types: [opened, reopened, synchronize]
5+
types: [opened, reopened, synchronize]
66

77
jobs:
88
soundness:
99
name: Soundness
10-
uses: apple/swift-nio/.github/workflows/soundness.yml@main
10+
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
1111
with:
1212
api_breakage_check_container_image: "swift:6.0-noble"
1313
docs_check_container_image: "swift:6.0-noble"
@@ -31,25 +31,25 @@ jobs:
3131
registry:
3232
image: registry:2
3333
ports:
34-
- 5000:5000
34+
- 5000:5000
3535
container:
3636
image: swift:6.0-noble
3737
steps:
38-
- name: Checkout repository
39-
uses: actions/checkout@v4
40-
with:
41-
persist-credentials: false
38+
- name: Checkout repository
39+
uses: actions/checkout@v4
40+
with:
41+
persist-credentials: false
4242

43-
- name: Mark the workspace as safe
44-
# https://github.com/actions/checkout/issues/766
45-
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
43+
- name: Mark the workspace as safe
44+
# https://github.com/actions/checkout/issues/766
45+
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
4646

47-
- name: Run test job
48-
env:
49-
REGISTRY_HOST: registry
50-
REGISTRY_PORT: 5000
51-
run: |
52-
swift test
47+
- name: Run test job
48+
env:
49+
REGISTRY_HOST: registry
50+
REGISTRY_PORT: 5000
51+
run: |
52+
swift test
5353
5454
swift-6-language-mode:
5555
name: Swift 6 Language Mode

.spi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 1
22
builder:
33
configs:
4-
- documentation_targets:
5-
- containertool
6-
- ContainerImageBuilderPlugin
4+
- documentation_targets:
5+
- containertool
6+
- ContainerImageBuilderPlugin

0 commit comments

Comments
 (0)