Adding github workflow file

This commit is contained in:
Patrick 2020-12-28 23:21:11 +01:00 committed by GitHub
parent 52dbfa60ea
commit f302b6151f
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@v2
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v