From 9854392a1f9366d2634339fcb74a75aade2b84bb Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 7 May 2026 17:55:18 +0200 Subject: [PATCH] github: Don't restore just any cache for the Linux tests If e.g. an "all" cache is restored for a "default", "apidoc" or a simple crypto test, the cache will be a lot larger than necessary. --- .github/workflows/linux.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 126c57cf0..492ea9d21 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -86,8 +86,6 @@ jobs: # files (LD itself and library.c); but different tests build different # dependencies, so different caches are needed key: ccache-ubuntu-latest-${{ env.CC }}-${{ matrix.test }} - restore-keys: | - ccache-ubuntu-latest-${{ env.CC }}- - run: | sudo apt-get install -qq ccache echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV @@ -158,9 +156,6 @@ jobs: ~/.cache/ccache ~/.ccache key: ccache-${{ matrix.os }}-${{ env.CC }}-${{ matrix.test }} - restore-keys: | - ccache-${{ matrix.os }}-${{ env.CC }}-all - ccache-${{ matrix.os }}-${{ env.CC }}- - run: | sudo apt-get install -qq ccache echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV @@ -223,8 +218,6 @@ jobs: ~/.cache/ccache ~/.ccache key: ccache-${{ matrix.os }}-${{ env.CC }}-${{ matrix.test }} - restore-keys: | - ccache-${{ matrix.os }}-${{ env.CC }}- - run: | sudo apt-get install -qq ccache echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV