From 532de5c71f3637c3cefad53c86d99313ee5f068f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 13:36:40 -0500 Subject: [PATCH] Bump actions/cache from 4.1.2 to 4.2.0 (#188) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/test.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 70519ec..4740d2c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -78,7 +78,7 @@ jobs: - if: matrix.crds-observatory != '' run: echo CRDS_CONTEXT=${{ matrix.crds-observatory == 'hst' && needs.crds-contexts.outputs.hst || (matrix.crds-observatory == 'jwst' && needs.crds-contexts.outputs.jwst || (matrix.crds-observatory == 'roman' && needs.crds-contexts.outputs.roman || '')) }} >> $GITHUB_ENV - if: env.CRDS_CONTEXT != '' - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ env.CRDS_PATH }} key: crds-${{ matrix.package }}-${{ env.CRDS_CONTEXT }} @@ -149,7 +149,7 @@ jobs: - if: matrix.crds-observatory != '' run: echo CRDS_CONTEXT=${{ matrix.crds-observatory == 'hst' && needs.crds-contexts.outputs.hst || matrix.crds-observatory == 'jwst' && needs.crds-contexts.outputs.jwst || matrix.crds-observatory == 'roman' && needs.crds-contexts.outputs.roman || '' }} >> $GITHUB_ENV - if: env.CRDS_CONTEXT != '' - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ env.CRDS_PATH }} key: crds-${{ matrix.package }}-${{ env.CRDS_CONTEXT }} @@ -246,7 +246,7 @@ jobs: fetch-depth: 0 - run: pip uninstall --yes crds && ./install && pip install .[submission,test,docs,synphot] working-directory: ${{ matrix.package }} - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ${{ needs.crds_test_cache.outputs.path }} @@ -293,7 +293,7 @@ jobs: - if: matrix.crds-observatory != '' run: echo CRDS_CONTEXT=${{ matrix.crds-observatory == 'hst' && needs.crds-contexts.outputs.hst || (matrix.crds-observatory == 'jwst' && needs.crds-contexts.outputs.jwst || (matrix.crds-observatory == 'roman' && needs.crds-contexts.outputs.roman || '')) }} >> $GITHUB_ENV - if: env.CRDS_CONTEXT != '' - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: ${{ env.CRDS_PATH }} key: crds-${{ matrix.package }}-${{ env.CRDS_CONTEXT }} @@ -313,7 +313,7 @@ jobs: post-cleanup: none - run: pip install pytest pytest-xdist - run: pip list - - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: tests/data/ key: data-${{ hashFiles('tests/data/*') }}