Skip to content

Commit 760814f

Browse files
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>
1 parent 62218f8 commit 760814f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/swift.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Simple test to obtain a green badge when merging to main branch
2+
3+
name: Swift Simple Check
4+
5+
permissions:
6+
contents: read
7+
8+
on:
9+
push:
10+
branches: [ "main" ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Build
20+
run: swift build -v
21+
- name: Run tests
22+
run: swift test -v

0 commit comments

Comments
 (0)