From 62e29ab731166b630e8cebeaf39b64a6a8a9fad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Mart=C3=ADnez?= Date: Mon, 3 Jan 2022 20:50:36 +0100 Subject: [PATCH] Create swift.yml --- .github/workflows/swift.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/swift.yml diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml new file mode 100644 index 0000000..70e6fd1 --- /dev/null +++ b/.github/workflows/swift.yml @@ -0,0 +1,23 @@ +name: Build and Test + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: macos-latest + + steps: + - uses: actions/checkout@v2 + - name: Setup Xcode version + uses: maxim-lobanov/setup-xcode@v1.4.0 + with: + xcode-version: latest-stable + - name: Build + run: swift build -v + - name: Run tests + run: swift test -v