Skip to content

Commit 281e589

Browse files
committed
Test more Swift versions
1 parent b33c28a commit 281e589

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/ci.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: CI
2-
on: [pull_request]
2+
on:
3+
pull_request:
4+
paths:
5+
- Sources/**
6+
- Tests/**
7+
- .github/workflows/ci.yml
38
jobs:
49
auto-cancel:
510
runs-on: ubuntu-latest
@@ -19,17 +24,18 @@ jobs:
1924
- uses: codecov/codecov-action@v1
2025
linux:
2126
needs: auto-cancel
22-
runs-on: ubuntu-latest
27+
runs-on: ubuntu-18.04
2328
strategy:
2429
matrix:
2530
swift:
2631
- '4.2'
2732
- '5.0'
2833
- '5.1'
2934
- '5.2'
35+
- '5.3'
36+
- '5.4'
37+
container:
38+
image: swift:${{ matrix.swift }}
3039
steps:
3140
- uses: actions/checkout@v2
32-
- uses: fwal/setup-swift@v1
33-
with:
34-
swift-version: ${{ matrix.swift }}
3541
- run: swift build

0 commit comments

Comments
 (0)