Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 20 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,33 @@ on:
workflow_dispatch:

jobs:
library:
runs-on: macos-12
lint:
runs-on: macos-13
environment: default
strategy:
matrix:
platform: [macOS]
xcode: [13.2.1, 13.4.1, '14.0']
# Swift: 5.5.2, 5.6, 5.7
steps:
- uses: actions/checkout@v3
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Format lint
run: swiftformat --lint .
- name: Lint
run: swiftlint .
test:
environment: default
strategy:
matrix:
include:
- os: macos-12
xcode: 13.2.1 # Swift 5.5.2
- os: macos-12
xcode: 13.4.1 # Swift 5.6
- os: macos-13
xcode: 14.2 # Swift 5.7
- os: macos-13
xcode: 14.3 # Swift 5.8
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run Tests
run: swift test --enable-code-coverage
- name: Swift Coverage Report
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/Packages
/*.xcodeproj
xcuserdata/
/.default.profraw
8 changes: 4 additions & 4 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.