Add GitHub action for testing swift package

This commit is contained in:
Nick Bourdakos
2022-04-22 16:41:07 -04:00
parent 9a362bb9ae
commit 8227416d73
@@ -0,0 +1,23 @@
name: Validate Swift Package
on: [push, pull_request]
env:
FORCE_COLOR: true
jobs:
build:
name: Build
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build
test:
name: Test
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Test
run: swift test