From 6c8fc28971f1d36d3865534976b9757fd594ad52 Mon Sep 17 00:00:00 2001 From: Leo Dion Date: Wed, 26 Nov 2025 09:40:40 -0500 Subject: [PATCH 1/5] Adding SundialKit dependencies --- .github/workflows/SundialKitStream.yml | 5 +++++ Package.swift | 2 +- Scripts/ensure-remote-deps.sh | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/SundialKitStream.yml b/.github/workflows/SundialKitStream.yml index 6de6493..73a2c65 100644 --- a/.github/workflows/SundialKitStream.yml +++ b/.github/workflows/SundialKitStream.yml @@ -24,6 +24,8 @@ jobs: nightly: true steps: - uses: actions/checkout@v4 + - name: Ensure remote dependencies + run: ./Scripts/ensure-remote-deps.sh - uses: brightdigit/swift-build@v1.4.0 with: scheme: ${{ env.PACKAGE_NAME }} @@ -114,6 +116,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Ensure remote dependencies + run: ./Scripts/ensure-remote-deps.sh + - name: Build and Test uses: brightdigit/swift-build@v1.4.0 with: diff --git a/Package.swift b/Package.swift index 5b09d31..b498a1e 100644 --- a/Package.swift +++ b/Package.swift @@ -59,7 +59,7 @@ let package = Package( ) ], dependencies: [ - .package(url: "https://github.com/brightdigit/SundialKit.git", from: "2.0.0-alpha.1") + .package(path: "../SundialKit") ], targets: [ .target( diff --git a/Scripts/ensure-remote-deps.sh b/Scripts/ensure-remote-deps.sh index 062430a..f95e952 100755 --- a/Scripts/ensure-remote-deps.sh +++ b/Scripts/ensure-remote-deps.sh @@ -5,8 +5,8 @@ set -euo pipefail REMOTE_URL="https://github.com/brightdigit/SundialKit.git" -REMOTE_BRANCH="branch: \"48-demo-applications-part-3\"" -LOCAL_PATH="../../" +REMOTE_BRANCH="branch: \"bitness-v0.0.8\"" +LOCAL_PATH="../SundialKit" PACKAGE_FILE="Package.swift" From 97bcd43c12be3790c7b66233ff0e3f67b8f5198b Mon Sep 17 00:00:00 2001 From: leogdion Date: Wed, 26 Nov 2025 10:04:15 -0500 Subject: [PATCH 2/5] fix: add name parameter to SundialKit dependency for CI script compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ensure-remote-deps.sh script expects the dependency format to include the name parameter. This change ensures the CI pipeline can properly convert the local path to the remote URL. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index b498a1e..2be5797 100644 --- a/Package.swift +++ b/Package.swift @@ -59,7 +59,7 @@ let package = Package( ) ], dependencies: [ - .package(path: "../SundialKit") + .package(name: "SundialKit", path: "../SundialKit") ], targets: [ .target( From 17862acd79266704f315155c750b75bb92063310 Mon Sep 17 00:00:00 2001 From: leogdion Date: Wed, 26 Nov 2025 10:17:17 -0500 Subject: [PATCH 3/5] ci: enable skip-package-resolved flag in swift-build action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add skip-package-resolved: true to both Ubuntu and macOS build jobs to allow dynamic dependency resolution instead of using Package.resolved pins. This prevents version compatibility issues during CI builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/SundialKitStream.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/SundialKitStream.yml b/.github/workflows/SundialKitStream.yml index 73a2c65..281632e 100644 --- a/.github/workflows/SundialKitStream.yml +++ b/.github/workflows/SundialKitStream.yml @@ -29,6 +29,7 @@ jobs: - uses: brightdigit/swift-build@v1.4.0 with: scheme: ${{ env.PACKAGE_NAME }} + skip-package-resolved: true - uses: sersoft-gmbh/swift-coverage-action@v4 id: coverage-files with: @@ -128,6 +129,7 @@ jobs: deviceName: ${{ matrix.deviceName }} osVersion: ${{ matrix.osVersion }} download-platform: ${{ matrix.download-platform }} + skip-package-resolved: true # Coverage Steps - name: Process Coverage From 556f897721977ca2400771edb7c0f55d951be44c Mon Sep 17 00:00:00 2001 From: Leo Dion Date: Tue, 2 Dec 2025 18:35:26 -0500 Subject: [PATCH 4/5] fixing package resolved --- Package.resolved | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 Package.resolved diff --git a/Package.resolved b/Package.resolved deleted file mode 100644 index 6a0c3f6..0000000 --- a/Package.resolved +++ /dev/null @@ -1,15 +0,0 @@ -{ - "originHash" : "bb26fa541c8043161a229c70d629895a66f222ad1353a6f5a22506d5b8fa4241", - "pins" : [ - { - "identity" : "sundialkit", - "kind" : "remoteSourceControl", - "location" : "https://github.com/brightdigit/SundialKit.git", - "state" : { - "revision" : "ff0e3f28e61107d26405c05ec1fa9637dbce05ed", - "version" : "2.0.0-alpha.1" - } - } - ], - "version" : 3 -} From faea616cbad9b3aeea5174e9348d3f906dec02fc Mon Sep 17 00:00:00 2001 From: leogdion Date: Wed, 3 Dec 2025 15:23:48 -0500 Subject: [PATCH 5/5] Upgrade CodeQL action from v3 to v4 (#7) --- .github/workflows/SundialKitStream.yml | 2 ++ .github/workflows/codeql.yml | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/SundialKitStream.yml b/.github/workflows/SundialKitStream.yml index 281632e..d5693de 100644 --- a/.github/workflows/SundialKitStream.yml +++ b/.github/workflows/SundialKitStream.yml @@ -150,6 +150,8 @@ jobs: LINT_MODE: STRICT steps: - uses: actions/checkout@v4 + - name: Ensure remote dependencies + run: ./Scripts/ensure-remote-deps.sh - name: Install mise uses: jdx/mise-action@v2 with: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ca63144..9c49dee 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -57,9 +57,12 @@ jobs: swift --version swift package --version + - name: Ensure remote dependencies + run: ./Scripts/ensure-remote-deps.sh + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -77,6 +80,6 @@ jobs: swift build - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 with: category: "/language:${{matrix.language}}"