From 30d623e41e2ae9fce2478b9adf28b0f8ea9842c6 Mon Sep 17 00:00:00 2001 From: Rushit Patel Date: Wed, 1 Jul 2026 19:09:19 -0400 Subject: [PATCH 1/3] refactor: upgrade actions/checkout to v7 and replace deprecated setup-protoc --- .github/workflows/auto-release.yml | 7 +++--- .github/workflows/build-and-push.yml | 2 +- .github/workflows/ci.yml | 32 ++++++++++++-------------- .github/workflows/release.yml | 34 ++++++++++++---------------- .github/workflows/test-e2e.yml | 7 +++--- 5 files changed, 36 insertions(+), 46 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 0b67c1d..4d5fd6a 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -57,7 +57,7 @@ jobs: ! contains(github.event.head_commit.message, '[skip ci]') steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 # RELEASE_PAT (not GITHUB_TOKEN) so the bump commit can push to @@ -151,10 +151,9 @@ jobs: - name: Install protoc if: steps.ver.outputs.release == 'true' - uses: arduino/setup-protoc@v3 + uses: taiki-e/install-action@v2 with: - version: "25.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} + tool: protoc@25.x - name: Cache cargo if: steps.ver.outputs.release == 'true' diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index ee9f6f9..ac42731 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8421a2d..2d2b99a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install Rust toolchain (${{ matrix.rust }}) uses: dtolnay/rust-toolchain@master @@ -41,10 +41,9 @@ jobs: # which requires `protoc` on PATH. Ubuntu/macOS/Windows runners # don't ship it preinstalled. arduino/setup-protoc handles all 3. - name: Install protoc - uses: arduino/setup-protoc@v3 + uses: taiki-e/install-action@v2 with: - version: "25.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} + tool: protoc@25.x - name: Cache cargo registry + target uses: Swatinem/rust-cache@v2 @@ -73,7 +72,7 @@ jobs: name: VERSION file matches Cargo.toml [workspace.package] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Check VERSION == Cargo.toml [workspace.package].version run: | @@ -110,7 +109,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install Rust 1.93 (MSRV) uses: dtolnay/rust-toolchain@master @@ -118,10 +117,9 @@ jobs: toolchain: "1.93" - name: Install protoc - uses: arduino/setup-protoc@v3 + uses: taiki-e/install-action@v2 with: - version: "25.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} + tool: protoc@25.x - name: Cache cargo uses: Swatinem/rust-cache@v2 @@ -209,7 +207,7 @@ jobs: run: working-directory: ts/tonin-client steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Setup Node uses: actions/setup-node@v4 @@ -244,7 +242,7 @@ jobs: env: CARGO_TERM_COLOR: always steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Install Rust 1.93 (MSRV) uses: dtolnay/rust-toolchain@master @@ -252,10 +250,9 @@ jobs: toolchain: "1.93" - name: Install protoc - uses: arduino/setup-protoc@v3 + uses: taiki-e/install-action@v2 with: - version: "25.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} + tool: protoc@25.x - name: Cache cargo uses: Swatinem/rust-cache@v2 @@ -290,7 +287,7 @@ jobs: env: CARGO_TERM_COLOR: always steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Install Rust 1.93 (MSRV) uses: dtolnay/rust-toolchain@master @@ -298,10 +295,9 @@ jobs: toolchain: "1.93" - name: Install protoc - uses: arduino/setup-protoc@v3 + uses: taiki-e/install-action@v2 with: - version: "25.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} + tool: protoc@25.x - name: Cache cargo uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e318f29..d029fa1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Verify run: | @@ -119,7 +119,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Check if all crates already published id: check @@ -155,10 +155,9 @@ jobs: - name: Install protoc if: steps.check.outputs.skipped != 'true' - uses: arduino/setup-protoc@v3 + uses: taiki-e/install-action@v2 with: - version: "25.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} + tool: protoc@25.x - name: Cache cargo if: steps.check.outputs.skipped != 'true' @@ -209,7 +208,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Check if binary asset already uploaded id: check @@ -238,10 +237,9 @@ jobs: - name: Install protoc if: steps.check.outputs.skipped != 'true' - uses: arduino/setup-protoc@v3 + uses: taiki-e/install-action@v2 with: - version: "25.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} + tool: protoc@25.x - name: Cache cargo if: steps.check.outputs.skipped != 'true' @@ -297,7 +295,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Check if proxy binary asset already uploaded id: check @@ -326,10 +324,9 @@ jobs: - name: Install protoc if: steps.check.outputs.skipped != 'true' - uses: arduino/setup-protoc@v3 + uses: taiki-e/install-action@v2 with: - version: "25.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} + tool: protoc@25.x - name: Cache cargo if: steps.check.outputs.skipped != 'true' @@ -363,7 +360,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Resolve version id: ver @@ -385,10 +382,9 @@ jobs: - name: Install protoc if: steps.check.outputs.skipped != 'true' - uses: arduino/setup-protoc@v3 + uses: taiki-e/install-action@v2 with: - version: "25.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} + tool: protoc@25.x - name: Set up Docker Buildx if: steps.check.outputs.skipped != 'true' @@ -433,7 +429,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Gate on NPM_TOKEN presence id: gate @@ -491,7 +487,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install via install.sh and assert version run: | diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 325d55e..c0b1d4c 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 # for git describe @@ -50,10 +50,9 @@ jobs: components: rustfmt, clippy - name: Install protoc - uses: arduino/setup-protoc@v3 + uses: taiki-e/install-action@v2 with: - version: "25.x" - repo-token: ${{ secrets.GITHUB_TOKEN }} + tool: protoc@25.x - name: Cache cargo registry + target uses: Swatinem/rust-cache@v2 From 69f074e6bd98632dbef68517df1b05401a014bd7 Mon Sep 17 00:00:00 2001 From: Rushit Patel Date: Wed, 1 Jul 2026 19:24:36 -0400 Subject: [PATCH 2/3] refactor: update protoc version to precise 25.5 for install-action compatibility --- .github/workflows/auto-release.yml | 2 +- .github/workflows/ci.yml | 8 ++++---- .github/workflows/release.yml | 8 ++++---- .github/workflows/test-e2e.yml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 4d5fd6a..8847b25 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -153,7 +153,7 @@ jobs: if: steps.ver.outputs.release == 'true' uses: taiki-e/install-action@v2 with: - tool: protoc@25.x + tool: protoc@25.5 - name: Cache cargo if: steps.ver.outputs.release == 'true' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2d2b99a..90056d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: - name: Install protoc uses: taiki-e/install-action@v2 with: - tool: protoc@25.x + tool: protoc@25.5 - name: Cache cargo registry + target uses: Swatinem/rust-cache@v2 @@ -119,7 +119,7 @@ jobs: - name: Install protoc uses: taiki-e/install-action@v2 with: - tool: protoc@25.x + tool: protoc@25.5 - name: Cache cargo uses: Swatinem/rust-cache@v2 @@ -252,7 +252,7 @@ jobs: - name: Install protoc uses: taiki-e/install-action@v2 with: - tool: protoc@25.x + tool: protoc@25.5 - name: Cache cargo uses: Swatinem/rust-cache@v2 @@ -297,7 +297,7 @@ jobs: - name: Install protoc uses: taiki-e/install-action@v2 with: - tool: protoc@25.x + tool: protoc@25.5 - name: Cache cargo uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d029fa1..7df2fde 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -157,7 +157,7 @@ jobs: if: steps.check.outputs.skipped != 'true' uses: taiki-e/install-action@v2 with: - tool: protoc@25.x + tool: protoc@25.5 - name: Cache cargo if: steps.check.outputs.skipped != 'true' @@ -239,7 +239,7 @@ jobs: if: steps.check.outputs.skipped != 'true' uses: taiki-e/install-action@v2 with: - tool: protoc@25.x + tool: protoc@25.5 - name: Cache cargo if: steps.check.outputs.skipped != 'true' @@ -326,7 +326,7 @@ jobs: if: steps.check.outputs.skipped != 'true' uses: taiki-e/install-action@v2 with: - tool: protoc@25.x + tool: protoc@25.5 - name: Cache cargo if: steps.check.outputs.skipped != 'true' @@ -384,7 +384,7 @@ jobs: if: steps.check.outputs.skipped != 'true' uses: taiki-e/install-action@v2 with: - tool: protoc@25.x + tool: protoc@25.5 - name: Set up Docker Buildx if: steps.check.outputs.skipped != 'true' diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index c0b1d4c..38670e1 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -52,7 +52,7 @@ jobs: - name: Install protoc uses: taiki-e/install-action@v2 with: - tool: protoc@25.x + tool: protoc@25.5 - name: Cache cargo registry + target uses: Swatinem/rust-cache@v2 From efdeda35567345b7b867349592d683c7ecebb0ab Mon Sep 17 00:00:00 2001 From: Rushit Patel Date: Thu, 2 Jul 2026 00:17:16 -0400 Subject: [PATCH 3/3] chore: fix protoc version format for install-action --- .github/workflows/auto-release.yml | 2 +- .github/workflows/ci.yml | 8 ++++---- .github/workflows/release.yml | 8 ++++---- .github/workflows/test-e2e.yml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 8847b25..b09ffd3 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -153,7 +153,7 @@ jobs: if: steps.ver.outputs.release == 'true' uses: taiki-e/install-action@v2 with: - tool: protoc@25.5 + tool: protoc@3.25.5 - name: Cache cargo if: steps.ver.outputs.release == 'true' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90056d5..c8ce975 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: - name: Install protoc uses: taiki-e/install-action@v2 with: - tool: protoc@25.5 + tool: protoc@3.25.5 - name: Cache cargo registry + target uses: Swatinem/rust-cache@v2 @@ -119,7 +119,7 @@ jobs: - name: Install protoc uses: taiki-e/install-action@v2 with: - tool: protoc@25.5 + tool: protoc@3.25.5 - name: Cache cargo uses: Swatinem/rust-cache@v2 @@ -252,7 +252,7 @@ jobs: - name: Install protoc uses: taiki-e/install-action@v2 with: - tool: protoc@25.5 + tool: protoc@3.25.5 - name: Cache cargo uses: Swatinem/rust-cache@v2 @@ -297,7 +297,7 @@ jobs: - name: Install protoc uses: taiki-e/install-action@v2 with: - tool: protoc@25.5 + tool: protoc@3.25.5 - name: Cache cargo uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7df2fde..81562fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -157,7 +157,7 @@ jobs: if: steps.check.outputs.skipped != 'true' uses: taiki-e/install-action@v2 with: - tool: protoc@25.5 + tool: protoc@3.25.5 - name: Cache cargo if: steps.check.outputs.skipped != 'true' @@ -239,7 +239,7 @@ jobs: if: steps.check.outputs.skipped != 'true' uses: taiki-e/install-action@v2 with: - tool: protoc@25.5 + tool: protoc@3.25.5 - name: Cache cargo if: steps.check.outputs.skipped != 'true' @@ -326,7 +326,7 @@ jobs: if: steps.check.outputs.skipped != 'true' uses: taiki-e/install-action@v2 with: - tool: protoc@25.5 + tool: protoc@3.25.5 - name: Cache cargo if: steps.check.outputs.skipped != 'true' @@ -384,7 +384,7 @@ jobs: if: steps.check.outputs.skipped != 'true' uses: taiki-e/install-action@v2 with: - tool: protoc@25.5 + tool: protoc@3.25.5 - name: Set up Docker Buildx if: steps.check.outputs.skipped != 'true' diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 38670e1..7c5d549 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -52,7 +52,7 @@ jobs: - name: Install protoc uses: taiki-e/install-action@v2 with: - tool: protoc@25.5 + tool: protoc@3.25.5 - name: Cache cargo registry + target uses: Swatinem/rust-cache@v2