chore: remove dead code and add Periphery #46
Workflow file for this run
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
name: Code Quality | |
on: pull_request | |
jobs: | |
xcodegen: | |
name: XcodeGen | |
runs-on: macos-15 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install XcodeGen | |
run: brew install xcodegen | |
- name: Generate Xcode Configs | |
run: xcodegen generate | |
- name: Upload Ichime.xcodeproj Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ichime | |
path: ./ | |
retention-days: 7 | |
swift_format: | |
name: swift-format | |
runs-on: macos-15 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Check Code Formatting | |
run: swift format lint . --recursive --strict | |
swiftformat: | |
name: SwiftFormat | |
runs-on: macos-15 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Check Code Formatting | |
run: swiftformat --lint . | |
swiftlint: | |
name: SwiftLint | |
runs-on: macos-15 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install SwiftLint | |
run: brew install swiftlint | |
- name: Check Code Formatting | |
run: swiftlint --strict | |
periphery: | |
name: Periphery | |
runs-on: macos-15 | |
needs: [xcodegen] | |
steps: | |
- name: Download Repository w/ Xcode Configs Artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: ichime | |
path: ./ | |
- name: Install Periphery | |
run: brew install periphery | |
- name: ls | |
run: ls -la | |
- name: Check For Unused Code | |
run: periphery scan |