Create swift.yml

This commit is contained in:
Shibo Lyu 2022-05-26 14:36:06 +08:00 committed by GitHub
parent 2f4cb84050
commit d01472235b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

19
.github/workflows/swift.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Swift
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v