Bump tonic from 0.9.2 to 0.12.3 #2870
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
rust_actions: | |
name: Rust Actions (Check/Fmt/Clippy) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
include: | |
- tool: check | |
protobuf: true | |
components: "" | |
command: cargo check | |
- tool: fmt | |
protobuf: true | |
components: "rustfmt" | |
command: cargo fmt --all -- --check | |
- tool: clippy | |
protobuf: true | |
components: "clippy" | |
command: cargo clippy --all-features | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/[email protected] | |
with: | |
components: ${{matrix.components}} | |
- name: Install Protobuf | |
if: matrix.protobuf | |
uses: ./.github/actions/install-protobuf | |
- name: Run ${{ matrix.tool }} | |
run: ${{ matrix.command }} | |
cargo-deny: # only runs on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/[email protected] | |
- name: Install Protobuf | |
uses: ./.github/actions/install-protobuf | |
- name: Install nextest | |
uses: taiki-e/install-action@nextest | |
- run: cargo nextest run | |
integration-test: | |
name: Integration Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/[email protected] | |
- name: Install Protobuf | |
uses: ./.github/actions/install-protobuf | |
- run: cargo test -p sheepdog | |
timeout-minutes: 30 | |
kani: | |
name: Kani Proofs | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
crate: [lading_throttle, lading_payload] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/[email protected] | |
- name: Install Protobuf | |
uses: ./.github/actions/install-protobuf | |
- name: Install kani | |
run: cargo install kani-verifier | |
- run: cargo kani --solver cadical | |
working-directory: ${{ matrix.crate }} | |
timeout-minutes: 30 | |
loom: | |
name: Loom Proofs | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
crate: [lading_signal] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/[email protected] | |
- name: Install Protobuf | |
uses: ./.github/actions/install-protobuf | |
- name: Install nextest | |
uses: taiki-e/install-action@nextest | |
- run: RUSTFLAGS="--cfg loom" cargo nextest run --release | |
working-directory: ${{ matrix.crate }} | |
timeout-minutes: 30 | |
buf: | |
runs-on: ubuntu-latest | |
steps: | |
# Check our protobufs for lint cleanliness and for lack of breaking | |
# changes | |
- uses: actions/checkout@v4 | |
- name: buf-setup | |
uses: bufbuild/[email protected] | |
- name: buf-lint | |
uses: bufbuild/[email protected] | |
- name: buf-breaking | |
uses: bufbuild/[email protected] | |
with: | |
against: 'https://github.com/datadog/lading.git#branch=main' |