Skip to content

Commit 8fe9412

Browse files
committed
Add github actions
1 parent 3cc1cc2 commit 8fe9412

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/workflow.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This workflow will build a Swift project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3+
4+
name: Swift
5+
6+
on:
7+
push:
8+
branches: [ "main", "develop" ]
9+
pull_request:
10+
branches: [ "main", "develop", 'release/**' ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: macos-latest
16+
17+
steps:
18+
- name: Setup Swift
19+
uses: swift-actions/[email protected]
20+
with:
21+
swift-version: 5.7.1
22+
- uses: actions/checkout@v3
23+
- name: Test
24+
run: swift test -v

0 commit comments

Comments
 (0)