0g-storage-node/.github/actions/setup-rust/action.yml
0g-peterzhb 3ba369e9e5
@peter/add grpc (#377)
* add grpc for uploading segments

* add reflection

* add upload segments grpc function

* format code

* fix lint

* fix test
2025-07-07 22:14:06 +08:00

18 lines
424 B
YAML

name: Setup Rust (cache & toolchain)
runs:
using: composite
steps:
- name: Install protoc compiler
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- name: Install toolchain 1.78.0
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.78.0
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2