From b7a802437383c4aacf8b998c8244616a2affd197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20=C3=85berg?= Date: Tue, 16 Dec 2025 01:27:29 +0100 Subject: [PATCH] Don't use restore-keys or glob search --- .github/workflows/lint.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1a2ebb8cf0b..53b303d0841 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -77,19 +77,13 @@ jobs: uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: .eslintcache - key: ${{ runner.os }}-eslint-${{ hashFiles('eslint.config.mjs') }}-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-eslint-${{ hashFiles('eslint.config.mjs') }}- - ${{ runner.os }}-eslint- + key: ${{ runner.os }}-eslint-${{ hashFiles('eslint.config.mjs') }}-${{ hashFiles('pnpm-lock.yaml') }} - name: Cache Prettier uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: node_modules/.cache/prettier - key: ${{ runner.os }}-prettier-${{ hashFiles('.prettierrc.json') }}-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-prettier-${{ hashFiles('.prettierrc.json') }}- - ${{ runner.os }}-prettier- + key: ${{ runner.os }}-prettier-${{ hashFiles('.prettierrc.json') }}-${{ hashFiles('pnpm-lock.yaml') }} - name: Lint unowned dependencies run: npm run lint:dep-ownership