Skip to content

feat(daemon): add optional Sentry reporting #34

feat(daemon): add optional Sentry reporting

feat(daemon): add optional Sentry reporting #34

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
build-and-test:
name: Build & Test (macOS)
runs-on: macos-latest
steps:
- uses: actions/checkout@v5
- name: Swift version
run: swift --version
- name: Cache SwiftPM
uses: actions/cache@v4
with:
path: |
.build
~/Library/Caches/org.swift.swiftpm
key: spm-${{ runner.os }}-${{ hashFiles('Package.resolved') }}
restore-keys: spm-${{ runner.os }}-
- name: Build
run: swift build
- name: Test
# Unit tests are mock-based by design — CI VMs have no AppleSMC service,
# so anything touching real hardware must stay out of the test target.
run: swift test
- name: Release build
run: swift build -c release