commit 0f19089c58fb940791659e1c4b4e98795240df4e parent 62652102ec8ff63fb2b530b1f4f04214a60387b1 Author: jvoisin <julien.voisin@dustri.org> Date: Sun, 20 Aug 2023 23:11:03 +0200 Cache the musl toolchain in the coverage step in the CI Diffstat:
M | .github/workflows/coverage.yaml | | | 10 | +++++++++- |
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml @@ -24,9 +24,17 @@ jobs: steps: - name: Checking out the code uses: actions/checkout@v3 + - name: Cache musl toolchain + uses: actions/cache@v3 + id: cache-musl + with: + path: x86_64-linux-musl-native + key: musl - name: Downloading musl-based toolchain - run: wget https://musl.cc/x86_64-linux-musl-native.tgz + if: steps.cache-musl.outputs.cache-hit != 'true' + run: wget --quiet https://musl.cc/x86_64-linux-musl-native.tgz - name: Extracting musl-based toolchain + if: steps.cache-musl.outputs.cache-hit != 'true' run: tar xzf ./x86_64-linux-musl-native.tgz - name: Installing lcov run: sudo apt install lcov