Skip to content

Commit b765c45

Browse files
committed
feat: Add Github Action
1 parent 4718a84 commit b765c45

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# GitHub recommends pinning actions to a commit SHA.
7+
# To get a newer version, you will need to update the SHA.
8+
# You can also reference a tag or branch, but the action may change without warning.
9+
10+
name: Swift Build
11+
12+
on:
13+
pull_request:
14+
branches: [main]
15+
workflow_dispatch:
16+
17+
jobs:
18+
build:
19+
name: Xcode ${{ matrix.xcode }} on ${{ matrix.os }}
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
matrix:
23+
os: [macos-14]
24+
xcode: ["15"]
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: jdx/mise-action@v2
28+
- uses: maxim-lobanov/setup-xcode@v1
29+
with:
30+
xcode-version: ${{ matrix.xcode }}
31+
- name: Lint
32+
run: rake swift:lint
33+
- name: Test
34+
run: rake swift:test

0 commit comments

Comments
 (0)