Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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@3.25.5

- name: Cache cargo
if: steps.ver.outputs.release == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
32 changes: 14 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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@3.25.5

- name: Cache cargo registry + target
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -110,18 +109,17 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install Rust 1.93 (MSRV)
uses: dtolnay/rust-toolchain@master
with:
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@3.25.5

- name: Cache cargo
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -244,18 +242,17 @@ 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
with:
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@3.25.5

- name: Cache cargo
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -290,18 +287,17 @@ 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
with:
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@3.25.5

- name: Cache cargo
uses: Swatinem/rust-cache@v2
Expand Down
34 changes: 15 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Verify
run: |
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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@3.25.5

- name: Cache cargo
if: steps.check.outputs.skipped != 'true'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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@3.25.5

- name: Cache cargo
if: steps.check.outputs.skipped != 'true'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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@3.25.5

- name: Cache cargo
if: steps.check.outputs.skipped != 'true'
Expand Down Expand Up @@ -363,7 +360,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Resolve version
id: ver
Expand All @@ -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@3.25.5

- name: Set up Docker Buildx
if: steps.check.outputs.skipped != 'true'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
fetch-depth: 0 # for git describe

Expand All @@ -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@3.25.5

- name: Cache cargo registry + target
uses: Swatinem/rust-cache@v2
Expand Down
Loading