-
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (46 loc) · 1002 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: CI/CD
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ci/cd-${{ github.ref }}
cancel-in-progress: true
jobs:
swift-package-test:
name: Test Swift Package
uses: danthorpe/ci/.github/workflows/swift-package.yml@main
secrets: inherit
with:
matrix: >
{
"include": [
{
"os": "macos-14",
"swift": "5.9",
"xcode": "15.4"
},
{
"os": "macos-14",
"swift": "5.10",
"xcode": "15.4"
},
{
"os": "macos-15",
"swift": "5.10",
"xcode": "16.0"
}
]
}
docs:
name: Docs
if: github.event_name == 'push'
needs: [swift-package-test]
uses: danthorpe/ci/.github/workflows/docs.yml@main
with:
os: 'macos-14'
targets: '["Networking"]'
basepath: 'swift-networking'