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
24 changes: 22 additions & 2 deletions .github/workflows/gateway-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

# Gateway-only CI: gateway changes never build the fluss-rust workspace and vice versa.
# Gateway CI also follows the native Rust client sources used by its configuration adapter.
# `uses:` step inputs are relative to the repository root.
name: Gateway CI

Expand All @@ -25,12 +25,18 @@ on:
- main
paths:
- 'fluss-gateway/**'
- 'fluss-rust/Cargo.toml'
- 'fluss-rust/crates/fluss/**'
Comment thread
beryllw marked this conversation as resolved.
- 'fluss-rpc/src/main/proto/**'
- '.github/workflows/gateway-ci.yml'
pull_request:
branches:
- main
paths:
- 'fluss-gateway/**'
- 'fluss-rust/Cargo.toml'
- 'fluss-rust/crates/fluss/**'
- 'fluss-rpc/src/main/proto/**'
- '.github/workflows/gateway-ci.yml'
workflow_dispatch:

Expand All @@ -55,6 +61,14 @@ jobs:
steps:
- uses: actions/checkout@v6

- name: Install protobuf compiler
run: brew install protobuf
if: runner.os == 'macOS'

- name: Install protobuf compiler
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
if: runner.os == 'Linux'

- name: Rust Cache
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
Expand Down Expand Up @@ -91,6 +105,9 @@ jobs:
- name: Install the MSRV toolchain
run: rustup toolchain install 1.88.0 --profile minimal

- name: Install protobuf compiler
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler

- name: Rust Cache
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
Expand All @@ -115,6 +132,9 @@ jobs:
with:
tool: cargo-deny@0.14.22

- name: Install protobuf compiler
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler

- name: Check dependency licenses (Apache-compatible)
run: cargo deny --locked check licenses

Expand All @@ -124,7 +144,7 @@ jobs:
# The inventory ships with the source release, so a stale one is worse than none.
- name: Dependency inventory drift check
run: |
cargo deny --locked list -f tsv -t 0.6 > DEPENDENCIES.rust.tsv
cargo deny --locked list -f tsv -t 0.6 | sed 's/[[:space:]]*$//' > DEPENDENCIES.rust.tsv
git diff --exit-code DEPENDENCIES.rust.tsv

- name: Rust Cache
Expand Down
Loading
Loading