-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 919 Bytes
/
ci.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
name: CI
on:
pull_request:
branches: [main]
concurrency:
group: ci-swift-test-drs-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: open-turo/action-pre-commit@v1
test:
name: Test
runs-on: macos-15
# needs: [lint] # Uncomment if tests are slow
steps:
- uses: actions/checkout@v4
- name: Build and Test
run: |
defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
xcodebuild test -scheme TestDRS
# Package is in alpha and not ready for release
# release-notes:
# name: Release notes preview
# runs-on: ubuntu-latest
# steps:
# - uses: open-turo/actions-release/lint-release-notes@v5
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}