Skip to content

Commit

Permalink
add toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Apr 24, 2024
1 parent 133dec7 commit 95af85d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ jobs:
components: clippy, rustfmt
- run:
sudo apt install -y protobuf-compiler
- name: Cache Crates
uses: actions/cache@v3
with:
path: |
./target
~/.cargo
key: debug-${{ runner.os }}-${{ hashFiles('rust-toolchain.toml') }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
debug-${{ runner.os }}-${{ hashFiles('rust-toolchain.toml') }}-
debug-${{ runner.os }}-
- name: Run Style Check
run: |
make ci
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Serialization-benchmark-rs

[![CI](https://github.com/CeresDB/serialization-benchmark-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/CeresDB/serialization-benchmark-rs/actions/workflows/ci.yml)

Benchmark for serialization in Rust, https://github.com/apache/incubator-horaedb/issues/1515.

# Usage
Expand Down
2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "stable"

0 comments on commit 95af85d

Please sign in to comment.