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>
This commit is contained in:
Sébastien Stormacq
2025-10-25 12:38:15 +02:00
committed by GitHub
parent 62218f8e66
commit 760814fbc4
+22
View File
@@ -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