generated from StanfordSpezi/SpeziTemplateApplication
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Introducing Periphery ## ♻️ Current situation & Problem - There was no tool for detecting unused code in the specified target. - The `build-and-test` workflow contains jobs that are outside its intended scope. - Merging #53 left some code unused and with unnecessary access modifiers. ## ⚙️ Release Notes - [Periphery](https://github.com/peripheryapp/periphery) will scan the specified target for unused code. This is the initial step towards addressing #56. - The CI pipeline is now split into two distinct workflows: `build-and-test` jobs for building and running the tests, and `static-analysis` jobs for code quality checks. - Resolved `Periphery` warnings. ### Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
- Loading branch information
Showing
20 changed files
with
110 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# | ||
# This source file is part of the Stanford LLM on FHIR project | ||
# | ||
# SPDX-FileCopyrightText: 2025 Stanford University | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
name: Static Analysis | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
reuse_action: | ||
name: REUSE Compliance Check | ||
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2 | ||
permissions: | ||
contents: read | ||
swiftlint: | ||
name: SwiftLint | ||
uses: StanfordBDHG/.github/.github/workflows/swiftlint.yml@v2 | ||
permissions: | ||
contents: read | ||
periphery: | ||
name: Periphery | ||
uses: StanfordBDHG/.github/.github/workflows/periphery.yml@v2 | ||
permissions: | ||
contents: read | ||
with: | ||
runsonlabels: '["macOS", "self-hosted"]' | ||
codeql: | ||
name: CodeQL | ||
uses: StanfordBDHG/.github/.github/workflows/xcodebuild-or-fastlane.yml@v2 | ||
with: | ||
codeql: true | ||
fastlanelane: codeql | ||
permissions: | ||
security-events: write | ||
actions: read |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# This source file is part of the Stanford LLM on FHIR project | ||
# | ||
# SPDX-FileCopyrightText: 2025 Stanford University | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# | ||
|
||
project: LLMonFHIR.xcodeproj | ||
schemes: | ||
- LLMonFHIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
LLMonFHIR/FHIRInterpretation/InterpretationModelType.swift
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.