Skip to content

Merge pull request #5 from rizwankce/swift-versions #7

Merge pull request #5 from rizwankce/swift-versions

Merge pull request #5 from rizwankce/swift-versions #7

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
macos:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build and Test
run: swift test
linux:
runs-on: ubuntu-latest
strategy:
matrix:
swift: ["5.2", "5.3", "5.4"]
container:
image: swift:${{ matrix.swift }}
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build
run: swift build
- name: Test
run: swift test --enable-test-discovery