diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1079a064..e9c8792b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,7 +27,7 @@ jobs: sharedKey: ${{ matrix.os }} - name: Cache dependencies if: ${{ matrix.os == 'ubuntu-latest' }} - run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi + run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install --locked grcov; fi - name: Format run: | make format diff --git a/Cargo.toml b/Cargo.toml index aeb699d6..c0d2ba2a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,7 +69,7 @@ raft = { git = "https://github.com/tikv/raft-rs", branch = "master", default-fea rand = "0.8" rand_distr = "0.4" tempfile = "3.1" -toml = "0.7" +toml = "0.8" [features] internals = []