Skip to content

Update ci.yml

Update ci.yml #120

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
macOS:
name: Test on macOS
runs-on: macOS-14
env:
DEVELOPER_DIR: /Applications/Xcode_16.0.app
steps:
- uses: actions/checkout@v4
- name: Show environments
run: |
swift --version
xcodebuild -version
- name: Lint Swift
run: |
if [[ ! -f "/usr/local/bin/swiftlint" ]]; then
brew install swiftlint
fi
swiftlint
- name: Build & test SwiftPM
run: |
swift build
swift test --enable-swift-testing
linux:
runs-on: ubuntu-latest
container: swift:latest
steps:
- uses: actions/checkout@v4
- name: Unit Test
run: swift test --enable-swift-testing