Skip to content

Commit 35455c4

Browse files
committed
add workflow
1 parent c43010e commit 35455c4

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/swift.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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: "*"
9+
pull_request:
10+
branches: "*"
11+
jobs:
12+
build:
13+
runs-on: macos-14
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Install swiftlint
17+
run: |
18+
brew update
19+
brew install swiftlint
20+
- name: Lint
21+
run: swiftlint
22+
- name: Build
23+
run: swift build -v
24+
- name: Run tests
25+
run: swift test -v

0 commit comments

Comments
 (0)