Skip to content

Commit 238d021

Browse files
Update CI
1 parent cf8cee3 commit 238d021

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ on:
1313
branches:
1414
- main
1515

16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
18+
cancel-in-progress: true
19+
1620
jobs:
1721
test:
1822
name: Test
19-
runs-on: macOS-14
23+
runs-on: macOS-15
24+
timeout-minutes: 30
2025
env:
21-
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
26+
DEVELOPER_DIR: /Applications/Xcode_16.3.app
2227
steps:
2328
- uses: actions/checkout@v4
2429
- name: Test
@@ -27,12 +32,18 @@ jobs:
2732
linux_test:
2833
name: Test Linux
2934
runs-on: ubuntu-latest
35+
timeout-minutes: 30
36+
strategy:
37+
matrix:
38+
swift-version:
39+
- 6.0.3
40+
- 6.1
3041
steps:
3142
- name: Checkout
3243
uses: actions/checkout@v4
33-
- name: Install swiftly
34-
run: curl -L https://swift-server.github.io/swiftly/swiftly-install.sh | bash -s -- -y
35-
- name: Install the latest Swift toolchain
36-
run: swiftly install latest
44+
- name: Swiftly
45+
uses: vapor/swiftly[email protected]
46+
with:
47+
toolchain: ${{ matrix.swift-version }}
3748
- name: Test
3849
run: swift test

0 commit comments

Comments
 (0)