diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 98951cfb1f..c8b2923dcd 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -79,7 +79,7 @@ jobs: - name: Restore cached conda packages id: restore-conda-cache if: ${{ github.event_name != 'schedule' }} - uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: #path: ${{ env.CONDA_DIR }}/envs/${{ env.CONDA_ENV_NAME }} path: ${{ env.CONDA_DIR }}/pkgs @@ -91,7 +91,7 @@ jobs: - name: Restore cached pip packages id: restore-pip-cache if: ${{ github.event_name != 'schedule' }} - uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ${{ env.PIP_CACHE_DIR }} key: conda-${{ runner.os }}-${{ env.CONDA_ENV_NAME }}-${{ hashFiles('conda-envs/${{ env.CONDA_ENV_NAME }}.yml') }}-${{ hashFiles('mlos_*/pyproject.toml') }}-${{ hashFiles('mlos_*/setup.py') }}-${{ env.cache_cur_date }}-${{ env.cache_cur_hour }} @@ -102,7 +102,7 @@ jobs: - name: Restore cached pre-commit hooks id: restore-pre-commit-cache if: ${{ github.event_name != 'schedule' }} - uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/.cache/pre-commit key: pre-commit-${{ runner.os }}-${{ env.CONDA_ENV_NAME }}-${{ hashFiles('conda-envs/${{ env.CONDA_ENV_NAME }}.yml') }}-${{ hashFiles('.pre-commit-config.yaml') }}-${{ env.cache_cur_date }}-${{ env.cache_cur_hour }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 458ff567e9..99f11ced99 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -83,7 +83,7 @@ jobs: - name: Restore cached conda packages id: restore-conda-cache if: ${{ github.event_name != 'schedule' }} - uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: #path: ${{ env.CONDA_DIR }}/envs/${{ env.CONDA_ENV_NAME }} path: ${{ env.CONDA_DIR }}/pkgs @@ -95,7 +95,7 @@ jobs: - name: Restore cached pip packages id: restore-pip-cache if: ${{ github.event_name != 'schedule' }} - uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ${{ env.PIP_CACHE_DIR }} key: conda-${{ runner.os }}-${{ env.CONDA_ENV_NAME }}-${{ hashFiles('conda-envs/${{ env.CONDA_ENV_NAME }}.yml') }}-${{ hashFiles('mlos_*/pyproject.toml') }}-${{ hashFiles('mlos_*/setup.py') }}-${{ env.cache_cur_date }}-${{ env.cache_cur_hour }} diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 04705b7910..2a81d2f130 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -67,7 +67,7 @@ jobs: - name: Restore cached conda environment id: restore-conda-cache if: github.event_name != 'schedule' - uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ${{ env.CONDA }}/envs/mlos key: conda-${{ runner.os }}-${{ env.CONDA_ENV_NAME }}-${{ hashFiles(format('conda-envs/{0}', env.CONDA_ENV_YML)) }}-${{ hashFiles('mlos_*/pyproject.toml') }}-${{ hashFiles('mlos_*/setup.py') }}-${{ env.cache_cur_date }}-${{ env.cache_cur_hour }}