mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-11-03 08:07:27 +00:00
18 lines
424 B
YAML
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.80.0
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: 1.80.0
|
|
components: rustfmt, clippy
|
|
|
|
- uses: Swatinem/rust-cache@v2 |