From 760814fbc44d0089c2bf1004a5c223e0cfb0cd14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Stormacq?= Date: Sat, 25 Oct 2025 12:38:15 +0200 Subject: [PATCH] Change Swift workflow to Ubuntu and simplify triggers (#31) Updated the Swift workflow to run on Ubuntu instead of macOS and simplified the trigger conditions. *Issue #, if available:* *Description of changes:* By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/swift.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..ade5e33 --- /dev/null +++ b/.github/workflows/swift.yml @@ -0,0 +1,22 @@ +# Simple test to obtain a green badge when merging to main branch + +name: Swift Simple Check + +permissions: + contents: read + +on: + push: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: swift build -v + - name: Run tests + run: swift test -v