Skip to content

Commit

Permalink
Test more Swift versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed May 28, 2021
1 parent b33c28a commit 281e589
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: CI
on: [pull_request]
on:
pull_request:
paths:
- Sources/**
- Tests/**
- .github/workflows/ci.yml
jobs:
auto-cancel:
runs-on: ubuntu-latest
Expand All @@ -19,17 +24,18 @@ jobs:
- uses: codecov/codecov-action@v1
linux:
needs: auto-cancel
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
matrix:
swift:
- '4.2'
- '5.0'
- '5.1'
- '5.2'
- '5.3'
- '5.4'
container:
image: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v2
- uses: fwal/setup-swift@v1
with:
swift-version: ${{ matrix.swift }}
- run: swift build

0 comments on commit 281e589

Please sign in to comment.