Skip to content

update CI

update CI #197

Workflow file for this run

name: Swift
on:
push: {}
pull_request: {}
jobs:
test:
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}

Check failure on line 9 in .github/workflows/swift.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/swift.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
swift: ["5.9.0"]
steps:
- uses: actions/checkout@v2
- uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift }}
- name: Resolve
run: swift package resolve
- name: Build
run: swift build
- name: Run tests
run: swift test 2>&1