From 2ec63b6c2367b38fd981c5b2149b8994884bd145 Mon Sep 17 00:00:00 2001 From: Hassan Abedi Date: Sat, 27 Jun 2026 23:48:16 +0200 Subject: [PATCH 1/4] The base commit --- build.zig.zon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig.zon b/build.zig.zon index 04939a8..43e0b7d 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,6 +1,6 @@ .{ .name = .ordered, - .version = "0.2.1", + .version = "0.2.2", .fingerprint = 0xc3121f99b0352e1b, // Changing this has security and trust implications. .minimum_zig_version = "0.16.0", .paths = .{ From ec838ff3d4d975a2dd83317a264f2afa64fa1e6d Mon Sep 17 00:00:00 2001 From: Hassan Abedi Date: Sat, 27 Jun 2026 23:50:16 +0200 Subject: [PATCH 2/4] Deploy the docs using GitHub Actions (instead of `gh-pages` branch) --- .github/workflows/docs.yml | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bdeedd4..18d2d03 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,11 +6,19 @@ on: tags: - 'v*' +# Permissions required for the GitHub Actions Pages deployment. permissions: - contents: write + contents: read + pages: write + id-token: write + +# Allow one concurrent deployment, without cancelling an in-progress run. +concurrency: + group: pages + cancel-in-progress: false jobs: - deploy-docs: + build: runs-on: ubuntu-latest steps: - name: Checkout Repository @@ -29,12 +37,18 @@ jobs: - name: Generate Documentation run: make docs - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v4 + - name: Upload Pages Artifact + uses: actions/upload-pages-artifact@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs/api - publish_branch: gh-pages - user_name: 'github-actions[bot]' - user_email: 'github-actions[bot]@users.noreply.github.com' - commit_message: "docs: Deploy documentation from ${{ github.sha }}" + path: ./docs/api + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 From 3cbc1018e01d37ae8529f14d1dff4c3111183096 Mon Sep 17 00:00:00 2001 From: Hassan Abedi Date: Sat, 27 Jun 2026 23:51:15 +0200 Subject: [PATCH 3/4] WIP --- .github/workflows/docs.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 18d2d03..477588e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,13 +6,11 @@ on: tags: - 'v*' -# Permissions required for the GitHub Actions Pages deployment. permissions: contents: read pages: write id-token: write -# Allow one concurrent deployment, without cancelling an in-progress run. concurrency: group: pages cancel-in-progress: false From 224b3c2879f447762df543a3b17a6336a1fec37e Mon Sep 17 00:00:00 2001 From: Hassan Abedi Date: Sun, 28 Jun 2026 00:07:14 +0200 Subject: [PATCH 4/4] WIP --- .github/workflows/benches.yml | 4 ++++ .github/workflows/docs.yml | 4 ++-- .github/workflows/tests.yml | 6 +++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benches.yml b/.github/workflows/benches.yml index 4c84ba2..0573be1 100644 --- a/.github/workflows/benches.yml +++ b/.github/workflows/benches.yml @@ -14,6 +14,10 @@ on: permissions: contents: read +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: benchmarks: runs-on: ubuntu-latest diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 477588e..f7dd45a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,8 +12,8 @@ permissions: id-token: write concurrency: - group: pages - cancel-in-progress: false + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true jobs: build: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 76dd4b6..4d0da9d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,13 +11,13 @@ on: branches: - main +permissions: + contents: read + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -permissions: - contents: read - jobs: tests: runs-on: ${{ matrix.os }}