diff --git a/.github/workflows/zxc-lint-snap.yaml b/.github/workflows/zxc-lint-snap.yaml index 7ab32311..e5889c95 100644 --- a/.github/workflows/zxc-lint-snap.yaml +++ b/.github/workflows/zxc-lint-snap.yaml @@ -47,7 +47,7 @@ jobs: run: npm install -g corepack && corepack enable - name: Yarn Cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 with: path: ${{ env.PROJECT_DIRECTORY }}/.yarn/cache key: yarn-cache-${{ runner.os }}-${{ runner.arch }}-${{ inputs.snap-package-dir }}-${{ hashFiles(format('packages/{0}/yarn.lock', inputs.snap-package-dir)) }} @@ -56,7 +56,7 @@ jobs: yarn-cache-${{ runner.os }}-${{ inputs.snap-package-dir }}- - name: Node Modules Cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 with: path: | ${{ env.PROJECT_DIRECTORY }}/node_modules diff --git a/.github/workflows/zxc-test-snap.yaml b/.github/workflows/zxc-test-snap.yaml index cbbd9b35..fb5a0005 100644 --- a/.github/workflows/zxc-test-snap.yaml +++ b/.github/workflows/zxc-test-snap.yaml @@ -51,7 +51,7 @@ jobs: run: npm install -g corepack && corepack enable - name: Yarn Cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 with: path: ${{ env.PROJECT_DIRECTORY }}/.yarn/cache key: yarn-cache-${{ runner.os }}-${{ runner.arch }}-${{ inputs.snap-package-dir }}-${{ hashFiles(format('packages/{0}/yarn.lock', inputs.snap-package-dir)) }} @@ -60,7 +60,7 @@ jobs: yarn-cache-${{ runner.os }}-${{ inputs.snap-package-dir }}- - name: Node Modules Cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 with: path: | ${{ env.PROJECT_DIRECTORY }}/node_modules