File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # CI Matrix Policy
2+ #
3+ # Category A (tools-version 6.2 + macOS 26 min): macos-26 + Swift 6.2
4+ # Category B (tools-version 6.2 + older macOS): macos-15 + 6.2, macos-26 + 6.2
5+ # Category C (tools-version 6.0): macos-15 + 6.0, macos-15 + 6.2, macos-26 + 6.2
6+ # Linux (if viable): ubuntu + Swift 6.0, ubuntu + Swift 6.2
7+ #
8+ # When Swift 6.3 ships: bump 6.0→6.1 and 6.2→6.3 in Category C
9+ # When bumping tools-version to 6.2: drop 6.0/6.1, move to Category A or B
10+
111name : CI
212
313on :
2939 run : swift build -v
3040 - name : Test
3141 run : swift test -v
42+ test-linux :
43+ name : Test on Linux
44+ runs-on : ubuntu-latest
45+ container :
46+ image : swift:6.2
47+ steps :
48+ - uses : actions/checkout@v4
49+ - name : Build
50+ run : swift build -v
51+ - name : Test
52+ run : swift test -v
3253 lint :
3354 name : Run Swiftlint
3455 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1- # Sample workflow for building and deploying a Jekyll site to GitHub Pages
21name : Deploy Documentation
32
43on :
54 push :
65 branches : [main]
6+ workflow_dispatch :
77
8- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
98permissions :
109 contents : read
1110 pages : write
1211 id-token : write
1312
14- # Allow one concurrent deployment
1513concurrency :
1614 group : pages
1715 cancel-in-progress : true
1816
1917jobs :
20- # Build job
2118 build :
2219 name : Generate Documentation
2320 runs-on : macos-latest
5754 with :
5855 path : " docs/"
5956
60- # Deployment job
6157 deploy :
6258 environment :
6359 name : github-pages
You can’t perform that action at this time.
0 commit comments