Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Commit

Permalink
Update CI workflow to test with Swift 5.3 (#2)
Browse files Browse the repository at this point in the history
* Test with Swift 5.3

* Update package manifest to swift-tools-version 5.3

* Remove release configuration flag from swift test invocation
  • Loading branch information
mattt authored Oct 21, 2020
1 parent f3b37c3 commit 2910f77
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,31 @@ jobs:
macos:
runs-on: macos-latest

strategy:
matrix:
xcode:
- "12" # Swift 5.3

name: "macOS (Xcode ${{ matrix.xcode }})"

steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install libgit2
run: brew install libgit2
- name: Build and Test
run: swift test
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer

linux:
runs-on: ubuntu-latest

strategy:
matrix:
swift: ["5.2"]
swift: ["5.3"]

name: "Linux (Swift ${{ matrix.swift }})"

container:
image: swift:${{ matrix.swift }}
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down

0 comments on commit 2910f77

Please sign in to comment.