From 050c1d1731a62b4b6a4248b6021f0322e1f18c45 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 5 Nov 2026 22:37:31 +0000 Subject: [PATCH 1/3] ci: move graphviz-upgrade actions to Node 24 releases checkout v4 -> v5, upload-artifact v4 -> v6, download-artifact v4 -> v7 (the first releases of each that run on Node 24). GitHub warns that Node 20 actions are deprecated. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QehuQ5E1E9oXf5T47G2JkT --- .github/workflows/graphviz-upgrade.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/graphviz-upgrade.yml b/.github/workflows/graphviz-upgrade.yml index d34b35d..c2aa0cc 100644 --- a/.github/workflows/graphviz-upgrade.yml +++ b/.github/workflows/graphviz-upgrade.yml @@ -40,7 +40,7 @@ jobs: version: ${{ steps.check.outputs.version }} build: ${{ steps.check.outputs.build }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - id: check env: FORCED: ${{ inputs.version }} @@ -73,7 +73,7 @@ jobs: env: VERSION: ${{ needs.detect.outputs.version }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false # the Graphviz build never sees the token - run: | @@ -83,7 +83,7 @@ jobs: - run: ./build_linux_static.sh - name: swift test against the new bundle run: swift test - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: CGraphviz.artifactbundle path: CGraphviz.artifactbundle @@ -96,7 +96,7 @@ jobs: env: VERSION: ${{ needs.detect.outputs.version }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false # the Graphviz build never sees the token - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends clang-18 llvm-18 cmake ninja-build bison flex python3 @@ -119,7 +119,7 @@ jobs: WASM_CLANG: /usr/lib/llvm-18/bin/clang WASM_AR: /usr/lib/llvm-18/bin/llvm-ar WASM_RANLIB: /usr/lib/llvm-18/bin/llvm-ranlib - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: CGraphvizWasm.artifactbundle path: CGraphvizWasm.artifactbundle @@ -132,7 +132,7 @@ jobs: env: VERSION: ${{ needs.detect.outputs.version }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: persist-credentials: false # the Graphviz build never sees the token - name: Tools (Apple's bison/flex are too old for Graphviz) @@ -144,7 +144,7 @@ jobs: - run: ./build_xcframework.sh # ends with swift build - name: swift test against the new xcframework run: swift test - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: Graphviz.xcframework path: Graphviz.xcframework @@ -160,15 +160,15 @@ jobs: VERSION: ${{ needs.detect.outputs.version }} OPEN_PR: ${{ github.event_name == 'schedule' || inputs.open_pr }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - id: bump run: echo "old=$(scripts/bump-graphviz.sh "$VERSION")" >> "$GITHUB_OUTPUT" - run: rm -rf Graphviz.xcframework CGraphviz.artifactbundle CGraphvizWasm.artifactbundle - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v7 with: { name: Graphviz.xcframework, path: Graphviz.xcframework } - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v7 with: { name: CGraphviz.artifactbundle, path: CGraphviz.artifactbundle } - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v7 with: { name: CGraphvizWasm.artifactbundle, path: CGraphvizWasm.artifactbundle } - run: scripts/check-artifacts.sh --update - name: Repo checks @@ -179,7 +179,7 @@ jobs: tar -czf "$RUNNER_TEMP/upgrade-$VERSION.tar.gz" Graphviz.xcframework CGraphviz.artifactbundle \ CGraphvizWasm.artifactbundle artifacts.sha256 README.md \ build_xcframework.sh build_wasm_static.sh build_linux_static.sh Containerfile.build - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 if: env.OPEN_PR != 'true' with: name: upgrade-${{ env.VERSION }} From 5e2df709b2277c74eef436b587d87c62b3e81265 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 5 Nov 2026 22:40:04 +0000 Subject: [PATCH 2/3] ci: drop the swift Dependabot updater Package.swift has no package dependencies, only local binary targets, so the swift ecosystem had nothing to update and its runs failed. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QehuQ5E1E9oXf5T47G2JkT --- .github/dependabot.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 59f475a..5edc37d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,9 +1,7 @@ version: 2 updates: - - package-ecosystem: swift - directory: / - schedule: - interval: weekly + # No swift entry: Package.swift has no package dependencies (only local + # binary targets), so the swift updater had nothing to update and failed. - package-ecosystem: github-actions directory: / schedule: From 9f6b75608ca492ade405931e82b1f93afaaba847 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 5 Nov 2026 22:40:48 +0000 Subject: [PATCH 3/3] Revert "ci: drop the swift Dependabot updater" scripts/hygiene.test.sh requires the swift ecosystem in dependabot.yml on purpose, so a dependency added later gets watched. Keep the entry. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QehuQ5E1E9oXf5T47G2JkT --- .github/dependabot.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5edc37d..59f475a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,9 @@ version: 2 updates: - # No swift entry: Package.swift has no package dependencies (only local - # binary targets), so the swift updater had nothing to update and failed. + - package-ecosystem: swift + directory: / + schedule: + interval: weekly - package-ecosystem: github-actions directory: / schedule: