build(deps): bump tonic-build from 0.11.0 to 0.12.3 #785
Workflow file for this run
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
# .github/workflows/ci.yml | |
name: CI Job | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
components: "rustfmt" | |
override: true | |
- name: Formating check | |
run: cargo fmt --check | |
tests: | |
name: Rust ${{ matrix.rust }} (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# - os: macos-latest | |
# target: x86_64-apple-darwin | |
# suffix: '' | |
# rust: stable | |
- os: ubuntu-latest | |
target: x86_64-unknown-linux-gnu | |
suffix: '' | |
rust: stable | |
# - os: windows-latest | |
# target: x86_64-pc-windows-msvc | |
# suffix: .exe | |
# rust: stable | |
env: | |
RUST_BACKTRACE: full | |
RUSTV: ${{ matrix.rust }} | |
steps: | |
- name: Install dependencies | |
run: sudo apt-get -y install protobuf-compiler | |
- uses: actions/checkout@v4 | |
- name: Install Rust ${{ matrix.rust }} | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
profile: minimal | |
components: "clippy, rustfmt" | |
override: true | |
- name: Cache registry, build data | |
uses: actions/cache@v4 | |
continue-on-error: false | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
./target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-cargo | |
- name: Lint | |
run: cargo clippy | |
- name: Test | |
run: cargo test |