-
Notifications
You must be signed in to change notification settings - Fork 45
45 lines (41 loc) · 979 Bytes
/
xcdiff.yaml
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
42
43
44
45
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
DEVELOPER_DIR: "/Applications/Xcode_15.3.app/Contents/Developer"
# Limit GITHUB_TOKEN permissions to read-only for repo contents
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: macOS-14
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: ./Scripts/brew.sh
- name: lint
run: make lint
build:
name: Build & Test
runs-on: macOS-14
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- name: build
run: make build
- name: test
run: make test_ci
- uses: codecov/codecov-action@v2
with:
directory: .coverage