From 8227416d7307eb661d5b2a98ac16ae2c0b321121 Mon Sep 17 00:00:00 2001 From: Nick Bourdakos Date: Fri, 22 Apr 2022 15:22:20 -0400 Subject: [PATCH] Add GitHub action for testing swift package --- .github/workflows/validate-swift-package.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/validate-swift-package.yaml diff --git a/.github/workflows/validate-swift-package.yaml b/.github/workflows/validate-swift-package.yaml new file mode 100644 index 00000000..14ed1180 --- /dev/null +++ b/.github/workflows/validate-swift-package.yaml @@ -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