From b8d1dbe7443b15a4d03d4e7ebe0cf8b64e4f2b25 Mon Sep 17 00:00:00 2001 From: Tim Morgan Date: Tue, 19 May 2026 12:58:41 -0700 Subject: [PATCH 1/2] Add Periphery config and CI workflow Adds .periphery.yml and .github/workflows/periphery.yml. No dead code removed (all Periphery findings are @inlinable/@usableFromInline ABI surface, intentionally retained). Tests pass. Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/periphery.yml | 14 ++++++++++++++ .periphery.yml | 1 + 2 files changed, 15 insertions(+) create mode 100644 .github/workflows/periphery.yml create mode 100644 .periphery.yml diff --git a/.github/workflows/periphery.yml b/.github/workflows/periphery.yml new file mode 100644 index 0000000..48ab9c1 --- /dev/null +++ b/.github/workflows/periphery.yml @@ -0,0 +1,14 @@ +name: Periphery +on: + push: + branches: [main] + pull_request: +jobs: + periphery: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - name: Install Periphery + run: brew install peripheryapp/periphery/periphery + - name: Run Periphery + run: periphery scan diff --git a/.periphery.yml b/.periphery.yml new file mode 100644 index 0000000..85b884a --- /dev/null +++ b/.periphery.yml @@ -0,0 +1 @@ +retain_public: true From 839b5516e1f29f3d7381ba346a40156e1665932f Mon Sep 17 00:00:00 2001 From: Tim Morgan Date: Tue, 19 May 2026 14:50:56 -0700 Subject: [PATCH 2/2] Fix Periphery CI: set up matching Swift/Xcode toolchain; use homebrew-core periphery formula Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/periphery.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/periphery.yml b/.github/workflows/periphery.yml index 48ab9c1..bd0325b 100644 --- a/.github/workflows/periphery.yml +++ b/.github/workflows/periphery.yml @@ -5,10 +5,13 @@ on: pull_request: jobs: periphery: - runs-on: macos-latest + runs-on: macos-26 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 + - uses: SwiftyLab/setup-swift@latest + with: + swift-version: "6.2" - name: Install Periphery - run: brew install peripheryapp/periphery/periphery + run: brew install periphery - name: Run Periphery run: periphery scan