Skip to content

Commit 627b94f

Browse files
committed
fix: fix ci
1 parent a315e07 commit 627b94f

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/swift.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
8-
strategy:
9-
matrix:
10-
os: [ubuntu-latest]
11-
swift: ["5.9"]
12-
runs-on: ${{ matrix.os }}
7+
name: Swift 5.9.2 on Ubuntu 22.04
8+
runs-on: ubuntu-latest
9+
10+
container:
11+
image: swift:5.9.2-jammy
12+
1313
steps:
14-
- uses: swift-actions/setup-swift@v2
15-
with:
16-
swift-version: ${{ matrix.swift }}
1714
- uses: actions/checkout@v4
15+
- name: Verify Swift Version
16+
run: swift --version
1817
- name: Build
1918
run: swift build
2019
- name: Run tests

0 commit comments

Comments
 (0)