From 773d17d51ff5350c269d7beeeac2a9e22e509913 Mon Sep 17 00:00:00 2001 From: Boyu Yang Date: Thu, 11 Apr 2024 23:07:03 +0800 Subject: [PATCH] ci: fix the compilation of `grcov` --- .github/workflows/ci.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index eff7e5a..8831da3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -90,7 +90,7 @@ jobs: override: true components: llvm-tools-preview - name: Install Grcov - run: grcov --version || cargo install grcov + run: grcov --version || cargo install --locked grcov - name: Generate Code Coverage Report of Unit Tests run: | make coverage-run-unittests diff --git a/Makefile b/Makefile index e2aad0b..95fed8d 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ coverage-clean: coverage-install-tools: rustup component add llvm-tools-preview - grcov --version || cargo install grcov + grcov --version || cargo install --locked grcov coverage-run-unittests: mkdir -p "${COVERAGE_PROFRAW_DIR}"