Skip to content

Commit 371fb16

Browse files
committed
use swiftlang actions
1 parent 99c6811 commit 371fb16

1 file changed

Lines changed: 14 additions & 39 deletions

File tree

.github/workflows/test.yml

Lines changed: 14 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,43 +6,18 @@ on:
66

77
jobs:
88

9-
linux:
10-
strategy:
11-
fail-fast: false
12-
matrix:
13-
swift-version:
14-
- "6.0"
15-
- "6.1"
16-
- "6.2"
17-
name: Linux (Swift ${{ matrix.swift-version }})
18-
runs-on: ubuntu-latest
19-
container:
20-
image: swift:${{ matrix.swift-version }}
21-
steps:
22-
- name: Checkout
23-
uses: actions/checkout@v4
24-
- name: Swift Version
25-
run: swift --version
26-
- name: Swift Build
27-
run: swift build -v -c debug
28-
- name: Swift Test
29-
run: swift test -v -c debug
9+
soundness:
10+
name: Soundness
11+
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
12+
with:
13+
license_header_check_enabled: false
14+
python_lint_check_enabled: false
15+
shell_check_enabled: false
16+
yamllint_check_enabled: false
3017

31-
macos:
32-
strategy:
33-
fail-fast: false
34-
matrix:
35-
macos-version:
36-
- "15"
37-
- "26"
38-
name: macOS ${{ matrix.macos-version }}
39-
runs-on: macos-${{ matrix.macos-version }}
40-
steps:
41-
- name: Checkout
42-
uses: actions/checkout@v4
43-
- name: Swift Version
44-
run: swift --version
45-
- name: Swift Build
46-
run: swift build -v -c debug
47-
- name: Swift Test
48-
run: swift test -v -c debug
18+
tests:
19+
name: Tests
20+
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
21+
with:
22+
linux_exclude_swift_versions: "[{\"swift_version\": \"nightly-main\"},{\"swift_version\": \"nightly-6.3\"}]"
23+
windows_exclude_swift_versions: "[{\"swift_version\": \"nightly-main\"},{\"swift_version\": \"nightly-6.3\"}]"

0 commit comments

Comments
 (0)