From 93e89c95077b210fa7ad74fb7e768fb5bddfbcbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juha=20Yrj=C3=B6l=C3=A4?= Date: Mon, 9 Oct 2023 22:45:24 +0300 Subject: [PATCH] fix typo --- .github/workflows/reviewdog.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 3295211d..f273557e 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -16,9 +16,6 @@ jobs: - run: corepack enable - run: yarn config set nodeLinker node-modules - - name: Get yarn version - id: yarn-version - run: echo "::set-output name=ver::$(yarn -v)" - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn config get cacheFolder)" @@ -27,9 +24,9 @@ jobs: id: cache-yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ steps.yarn-version.outputs.ver }} + key: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }} restore-keys: | - ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }} + ${{ runner.os }}-yarn- # FIXME: Remove the two lines below whenever possible - run: yarn config set enableImmutableInstalls false