From 3ac897ea5873b6769b1b5db09cdbf816e0d7ba2e Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 30 Jun 2026 19:10:18 +0000 Subject: [PATCH 1/2] Add java platform URLs to mise.lock A prior mise.lock regeneration left the core:java entry with only [tools.java.options] and no per-platform url/checksum entries. Under the mise version used in CI, 'mise install --locked' then fails with 'No lockfile URL found for java@26.0.1', which broke the gh-pages deploy (it runs the full locked install). Regenerated with 'mise lock java' to populate the per-platform entries. Co-Authored-By: Claude Opus 4.8 (1M context) --- mise.lock | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/mise.lock b/mise.lock index 0bdccfe6..f095e826 100644 --- a/mise.lock +++ b/mise.lock @@ -39,6 +39,26 @@ backend = "core:java" [tools.java.options] shorthand_vendor = "openjdk" +[tools.java."platforms.linux-arm64"] +checksum = "sha256:12a3649b2f4a0c9f6491d220bdd04b4fff07cae502b435aaff46eac0e36f4df1" +url = "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_linux-aarch64_bin.tar.gz" + +[tools.java."platforms.linux-x64"] +checksum = "sha256:2f2802d57b5fc414f1ddf6648ba12cc9a6454cf67b32ac95407c018f2e6ab0b0" +url = "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_linux-x64_bin.tar.gz" + +[tools.java."platforms.macos-arm64"] +checksum = "sha256:b2d57405194a312ed4ec6ec08e83b314d3fd2e425e895d704ec5ef8ea6059e17" +url = "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_macos-aarch64_bin.tar.gz" + +[tools.java."platforms.macos-x64"] +checksum = "sha256:e52bc05aefe4991329a6a103c9b42ae4b9b77240a9f9d3d12f6a7365db1ae16a" +url = "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_macos-x64_bin.tar.gz" + +[tools.java."platforms.windows-x64"] +checksum = "sha256:b381d30647aed9ff440abed5ab61af01d8578c290cd407c57e064ebc4b0151be" +url = "https://download.java.net/java/GA/jdk26.0.1/458fda22e4c54d5ba572ab8d2b22eb83/8/GPL/openjdk-26.0.1_windows-x64_bin.zip" + [[tools.lychee]] version = "0.24.2" backend = "aqua:lycheeverse/lychee" From 3b65b5c674de76e8e2aade86d6faaea1265e329f Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 30 Jun 2026 19:10:18 +0000 Subject: [PATCH 2/2] Build docs on pull requests to catch breakage pre-merge The Pages workflow only ran on pushes to main, so a broken mise.lock or docs build was not detected until after merge (when the deploy runs the full 'mise install --locked'). Run the build on pull requests too, and gate the gh-pages publish step to pushes on main so PRs validate without deploying. Scope the concurrency group per ref so PR runs do not cancel the main deploy. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/pages.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 11bd3db3..059d5b5b 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -3,12 +3,13 @@ name: Deploy to GitHub Pages on: push: branches: ["main"] + pull_request: workflow_dispatch: permissions: {} concurrency: - group: pages + group: pages-${{ github.ref }} cancel-in-progress: true jobs: @@ -31,7 +32,11 @@ jobs: HUGO_BASEURL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/ run: mise run build-docs + # Only publish from pushes to main. On pull requests the steps above + # still run (building the docs and exercising `mise install --locked`), + # so a broken lockfile or docs build is caught before merge. - name: Push rendered site to gh-pages + if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.1.0 with: github_token: ${{ secrets.GITHUB_TOKEN }}