diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2023-01-30 19:49:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 19:49:26 +0100 |
commit | fb8ed27d14be003f247455d461f583dab92df321 (patch) | |
tree | 8fbca735b6607956da1363a5a967eb1aec377763 /.github/workflows/primer_comment.yaml | |
parent | 4036863950f8ad04d66b507ee3d851cec1dc066b (diff) | |
download | pylint-git-fb8ed27d14be003f247455d461f583dab92df321.tar.gz |
Use fail-on-cache-miss option [ci] (#8139)
Diffstat (limited to '.github/workflows/primer_comment.yaml')
-rw-r--r-- | .github/workflows/primer_comment.yaml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/.github/workflows/primer_comment.yaml b/.github/workflows/primer_comment.yaml index 491ab49e7..45301fe30 100644 --- a/.github/workflows/primer_comment.yaml +++ b/.github/workflows/primer_comment.yaml @@ -44,15 +44,11 @@ jobs: uses: actions/cache@v3.2.4 with: path: venv + fail-on-cache-miss: true key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{ env.KEY_PREFIX }}-${{ env.CACHE_VERSION }}-${{ hashFiles('pyproject.toml', 'requirements_test.txt', 'requirements_test_min.txt') }} - - name: Fail job if Python cache restore failed - if: steps.cache-venv.outputs.cache-hit != 'true' - run: | - echo "Failed to restore Python venv from cache" - exit 1 - name: Download outputs uses: actions/github-script@v6.4.0 |