Skip to content

Commit b47f6aa

Browse files
committed
update ci
1 parent 28c1a5d commit b47f6aa

File tree

1 file changed

+13
-25
lines changed

1 file changed

+13
-25
lines changed

.github/workflows/swift.yml

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ jobs:
44

55
macos:
66
name: macOS
7-
runs-on: macos-latest
7+
runs-on: macos-15
88
steps:
9-
- name: Install Swift
10-
uses: slashmo/[email protected]
11-
with:
12-
version: 6.0.3
139
- name: Checkout
14-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
1511
- name: Swift Version
1612
run: swift --version
1713
- name: Build (Debug)
@@ -23,23 +19,15 @@ jobs:
2319

2420
linux:
2521
name: Linux
26-
strategy:
27-
matrix:
28-
swift: [6.0.3]
29-
os: [ubuntu-20.04]
30-
runs-on: ${{ matrix.os }}
22+
runs-on: ubuntu-24.04
23+
container: swift:6.0.3
3124
steps:
32-
- name: Install Swift
33-
uses: slashmo/[email protected]
34-
with:
35-
version: ${{ matrix.swift }}
36-
- name: Checkout
37-
uses: actions/checkout@v2
38-
- name: Swift Version
39-
run: swift --version
40-
- name: Build (Debug)
41-
run: swift build -c debug
42-
- name: Build (Release)
43-
run: swift build -c release
44-
- name: Test (Debug)
45-
run: swift test -c debug
25+
- uses: actions/checkout@v4
26+
- name: Swift Version
27+
run: swift --version
28+
- name: Build (Debug)
29+
run: swift build -c debug
30+
- name: Build (Release)
31+
run: swift build -c release
32+
- name: Test (Debug)
33+
run: swift test -c debug

0 commit comments

Comments
 (0)