Repository navigation
64 lines (60 loc) · 1.86 KB
/
Copy pathstatic-analysis.yml
File metadata and controls
64 lines (60 loc) · 1.86 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# This source file is part of the My Heart Counts iOS open-source project
#
# SPDX-FileCopyrightText: 2025 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#
name: Static Analysis
on:
pull_request:
workflow_dispatch:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
reuse_action:
name: REUSE Compliance Check
uses: SchmiedmayerLab/.github/.github/workflows/reuse.yml@v0.5
permissions:
contents: read
swiftlint:
name: SwiftLint
uses: SchmiedmayerLab/.github/.github/workflows/swiftlint.yml@v0.5
permissions:
contents: read
with:
# The SwiftLint Linux binary needs libxml2.so.2, which `ubuntu-latest` (Ubuntu 26.04) no longer ships.
runs_on_labels: '["ubuntu-24.04"]'
periphery:
name: Periphery
uses: SchmiedmayerLab/.github/.github/workflows/periphery.yml@v0.5
permissions:
contents: read
with:
runsonlabels: '["macOS", "self-hosted"]'
xcode-version: 'latest-stable'
strict: false
# we need to exclude this bc FHIRModels doesn't compile for older watch models (pre series 4).
# not a problem for MHC, since our iOS 18 / watchOS 11 deployment target means that we don't
# support any of these models in the first place...
extra-build-args: EXCLUDED_ARCHS=armv7k
markdownlinkcheck:
name: Markdown Link Check
uses: SchmiedmayerLab/.github/.github/workflows/markdown-links.yml@v0.5
permissions:
contents: read
pull-requests: read
# codeql:
# name: CodeQL
# uses: SchmiedmayerLab/.github/.github/workflows/xcodebuild.yml@v0.5
# permissions:
# security-events: write
# actions: read
# contents: read
# with:
# codeql: true
# scheme: MyHeartCounts
# test: false
# xcodeversion: '26.6'