diff --git a/.github/workflows/validate-swift-package.yaml b/.github/workflows/validate-swift-package.yaml new file mode 100644 index 00000000..1c62521b --- /dev/null +++ b/.github/workflows/validate-swift-package.yaml @@ -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