-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 736 Bytes
/
Copy pathci.yml
File metadata and controls
41 lines (33 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on:
push:
branches: ["*"]
tags-ignore: ["v*"]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: macos-15
steps:
- uses: actions/checkout@v6
- name: SwiftLint
run: |
brew install swiftlint
swiftlint lint --strict
test:
runs-on: macos-15
steps:
- uses: actions/checkout@v6
- name: Test
run: swift test
build:
runs-on: macos-15
steps:
- uses: actions/checkout@v6
- name: Build app bundle
run: ./scripts/build-app.sh
- name: Verify CLI
run: .build/Herald.app/Contents/MacOS/herald --version