Merge pull request #612 from bourdakos1/github-actions

Add GitHub action for testing swift package
This commit is contained in:
suetfei
2022-04-25 10:29:52 -07:00
committed by GitHub
@@ -0,0 +1,27 @@
name: Validate Swift Package
on: [push, pull_request]
env:
FORCE_COLOR: true
jobs:
build:
name: Build
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Build
run: swift build
test:
name: Test
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Test
run: swift test