File tree Expand file tree Collapse file tree 1 file changed +26
-9
lines changed Expand file tree Collapse file tree 1 file changed +26
-9
lines changed Original file line number Diff line number Diff line change @@ -33,18 +33,35 @@ jobs:
3333 run : swift build
3434 - name : Run tests
3535 run : swift test
36- linux-build :
37- name : Build and test ${{ matrix.swift }} on ${{ matrix.os }}
36+
37+ # ubuntu-latest is ubuntu-22.04 currently. Swift versions older than 5.7 don't have builds for 22.04. https://www.swift.org/download/
38+ ubuntu-old :
39+ name : Build ${{ matrix.swift }} on ${{ matrix.os }}
3840 runs-on : ${{ matrix.os }}
3941 strategy :
4042 matrix :
41- os : [ubuntu-latest]
43+ os : [ubuntu-20.04]
4244 swift : ["5.4", "5.5", "5.6"]
4345 steps :
44- - uses : swift-actions/setup-swift@v1
45- with :
46- swift-version : ${{ matrix.swift }}
47- - uses : actions/checkout@v2
48- - name : Test
49- run : swift test
46+ - uses : swift-actions/setup-swift@v1
47+ with :
48+ swift-version : ${{ matrix.swift }}
49+ - uses : actions/checkout@v3
50+ - name : Test
51+ run : swift test
52+
53+ ubuntu-latest :
54+ name : Build ${{ matrix.swift }} on ${{ matrix.os }}
55+ runs-on : ${{ matrix.os }}
56+ strategy :
57+ matrix :
58+ os : [ubuntu-latest]
59+ swift : ["5.7"]
60+ steps :
61+ - uses : swift-actions/setup-swift@v1
62+ with :
63+ swift-version : ${{ matrix.swift }}
64+ - uses : actions/checkout@v3
65+ - name : Test
66+ run : swift test
5067
You can’t perform that action at this time.
0 commit comments