Skip to content

Commit 02af18d

Browse files
authored
Change Swift workflow to Ubuntu and simplify triggers
Updated the Swift workflow to run on Ubuntu instead of macOS and simplified the trigger conditions.
1 parent 62218f8 commit 02af18d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/swift.yml

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

0 commit comments

Comments
 (0)