From 5bfd6cd4fff206b40fdeb5ae54ecf5b91b9380c1 Mon Sep 17 00:00:00 2001 From: Georgios Chatoutsidis Date: Wed, 10 Jun 2026 10:17:00 +0300 Subject: [PATCH 1/2] Add Swift CI configuration for automated build and test --- .github/workflows/swift-ci.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/swift-ci.yml diff --git a/.github/workflows/swift-ci.yml b/.github/workflows/swift-ci.yml new file mode 100644 index 0000000..6b90cf0 --- /dev/null +++ b/.github/workflows/swift-ci.yml @@ -0,0 +1,34 @@ +name: Swift CI + +on: + pull_request: + branches: + - main + +concurrency: + group: swift-ci-${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build-and-test: + name: Build and Test + runs-on: macos-15 + timeout-minutes: 20 + + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Set up Swift 6.3 + uses: swift-actions/setup-swift@v3 + with: + swift-version: '6.3' + + - name: Show Swift version + run: swift --version + + - name: Build package + run: swift build + + - name: Run test suite + run: swift test From 2cc7e216300e187b15778ab7f6247e6efaba7405 Mon Sep 17 00:00:00 2001 From: Georgios Chatoutsidis Date: Wed, 10 Jun 2026 10:24:46 +0300 Subject: [PATCH 2/2] Add MIT License to the repository --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..234a538 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Georgios Chatoutsidis + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file