File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 branches : [ "*" ]
88
99jobs :
10- tests :
11- name : Tests
12- uses : swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
13- with :
14- enable_macos_checks : true
15- macos_xcode_versions : ' ["16.3"]'
16- linux_swift_versions : ' ["6.1", "nightly-6.2"]'
17- windows_swift_versions : ' ["6.1", "nightly-6.2"]'
10+ mac :
11+ name : Swift on macOS
12+ runs-on : macos-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - name : Build
16+ run : swift build -v
17+ - name : Run tests
18+ run : swift test -v
19+ linux :
20+ name : Swift ${{ matrix.swift }} on Linux
21+ runs-on : ubuntu-latest
22+ container : swift:{{ matrix.swift }}
23+ strategy :
24+ fail-fast : false
25+ matrix :
26+ swift : ["6.1"]
27+ steps :
28+ - uses : actions/checkout@v4
29+ - name : Build
30+ run : swift build -v
31+ - name : Run tests
32+ run : swift test -v
1833 format :
1934 name : Format
20- runs-on : macos-latest
35+ runs-on : ubuntu-latest
36+ container : swift:6.1
2137 steps :
22- - uses : swift-actions/setup-swift@682457186b71c25a884c45c06f859febbe259240
23- with :
24- swift-version : " 6.1"
2538 - uses : actions/checkout@v4
2639 - name : Format
2740 run : swift format lint **/*.swift -r -s
You can’t perform that action at this time.
0 commit comments