From 532a04591ea3444d23a87e881cdd788e00b01f08 Mon Sep 17 00:00:00 2001 From: Michael Panchenko Date: Mon, 7 Jul 2025 00:17:56 +0200 Subject: [PATCH] GH: Use static cache keys --- .github/workflows/pytest.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 6c377cc1..cf3b93a4 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -38,7 +38,7 @@ jobs: path: | ~/go/bin ~/.cache/go-build - key: go-binaries-${{ runner.os }}-${{ hashFiles('**/go.sum') }}-gopls-latest + key: go-binaries-${{ runner.os }}-gopls-latest - name: Install gopls if: steps.cache-go-binaries.outputs.cache-hit != 'true' shell: bash @@ -78,7 +78,9 @@ jobs: uses: actions/cache@v3 with: path: src/solidlsp/language_servers/static - key: language-servers-${{ runner.os }}-${{ hashFiles('src/solidlsp/language_servers/static/**') }} + key: language-servers-${{ runner.os }}-v1 + restore-keys: | + language-servers-${{ runner.os }}- - name: Create virtual environment shell: bash run: |