miniforge-version: latest
python-version: ${{ matrix.python-version }}
if: ${{ runner.os == 'Linux' && !contains(fromJSON(env.not_in_conda), matrix.python-version) }}
- - uses: actions/setup-python@v4
+ - uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
if: ${{ runner.os != 'Linux' || contains(fromJSON(env.not_in_conda), matrix.python-version) }}
- name: Cache conda
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda
- name: Cache pip
- uses: actions/cache@v3
+ uses: actions/cache@v4
with:
# This path is specific to Linux/Unix
path: ~/.cache/pip