From ed1b6fa7a91aacaa23eae39fb28341c259bdef1a Mon Sep 17 00:00:00 2001 From: Goncalo-FradeIOHK Date: Fri, 19 Aug 2022 09:38:53 +0100 Subject: [PATCH] ci: add build workflow Fixes ATL-1641 --- .github/workflows/build.yml | 20 ++++++++++++++++++++ Package.swift | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..b1e931c1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +--- +name: Build + +on: + push: + branches: + - main + pull_request: + branches: [main] + +jobs: + lint: + name: build + runs-on: macos-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Build + run: "swift build" diff --git a/Package.swift b/Package.swift index 0a3602b3..b77a15e7 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.6 +// swift-tools-version: 5.5 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription