From d7f34d272f1f114048455ec0d4a02ef74bd70d8d Mon Sep 17 00:00:00 2001 From: tison Date: Wed, 13 May 2026 08:50:54 +0800 Subject: [PATCH 1/2] chore: ensure lockfile up-to-date Signed-off-by: tison --- .github/workflows/ci.yml | 12 +++++++----- Cargo.lock | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f59c71..2fbbdf1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,9 @@ name: CI on: pull_request: - branches: [ main ] + branches: [main] push: - branches: [ main ] + branches: [main] # Concurrency strategy: # github.workflow: distinguish this workflow from others @@ -52,6 +52,8 @@ jobs: - uses: taiki-e/install-action@v2 with: tool: typos-cli,taplo-cli,hawkeye + - name: Check lockfile + run: cargo update -w --locked --verbose - name: Check linters run: cargo x lint - name: Check feature matrix @@ -75,7 +77,7 @@ jobs: needs: msrv strategy: matrix: - os: [ ubuntu-24.04, macos-14, windows-2022 ] + os: [ubuntu-24.04, macos-14, windows-2022] rust-version: ${{ fromJson(needs.msrv.outputs.rust-versions) }} runs-on: ${{ matrix.os }} steps: @@ -90,8 +92,8 @@ jobs: - name: Setup Java uses: actions/setup-java@v5 with: - java-version: '25' - distribution: 'temurin' + java-version: "25" + distribution: "temurin" - name: Prepare test data shell: bash run: ./tools/generate_serialization_test_data.py diff --git a/Cargo.lock b/Cargo.lock index f3212f5..caefbc8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -176,7 +176,7 @@ dependencies = [ [[package]] name = "datasketches" -version = "0.2.0" +version = "0.3.0" dependencies = [ "googletest", "insta", From ff16852d49020b7741548bfc4aa4251769eb2db0 Mon Sep 17 00:00:00 2001 From: tison Date: Wed, 13 May 2026 09:05:30 +0800 Subject: [PATCH 2/2] Fix CI Rust cache setup --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fbbdf1..70dda9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,11 +84,13 @@ jobs: - uses: actions/checkout@v6 - name: Delete rust-toolchain.toml run: rm rust-toolchain.toml - - uses: Swatinem/rust-cache@v2 - name: Install toolchain run: | rustup toolchain install ${{ matrix.rust-version }} rustup default ${{ matrix.rust-version }} + - uses: Swatinem/rust-cache@v2 + with: + cache-bin: "false" - name: Setup Java uses: actions/setup-java@v5 with: