Skip to content

Commit 80e3ad6

Browse files
committed
Updated workflow setup
1 parent 37ad613 commit 80e3ad6

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

.github/workflows/swift.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,25 @@ on:
88

99
jobs:
1010
build:
11-
runs-on: macos-latest
11+
runs-on: ${{ matrix.os }}
12+
13+
strategy:
14+
matrix:
15+
os: [ubuntu-24.04-arm, macos-latest-xlarge]
16+
swift: ["6.0"]
1217

1318
steps:
14-
- uses: swift-actions/setup-swift@v2
15-
- name: Build
16-
run: swift build -v
17-
- name: Run tests
18-
run: swift test -v
19+
- uses: actions/checkout@v4
20+
21+
- name: Setup Swift
22+
uses: swift-actions/setup-swift@v2
23+
with:
24+
swift-version: ${{ matrix.swift }}
25+
26+
- run: swift --version
27+
28+
- name: Build
29+
run: swift build -v
30+
31+
- name: Run tests
32+
run: swift test -v

0 commit comments

Comments
 (0)