Skip to content

build(deps): bump astral-sh/setup-uv from 6.6.0 to 6.6.1 #4364

build(deps): bump astral-sh/setup-uv from 6.6.0 to 6.6.1

build(deps): bump astral-sh/setup-uv from 6.6.0 to 6.6.1 #4364

name: Conda Smoke Test
on:
pull_request:
paths:
- '**'
push:
branches:
- develop
paths:
- '**'
permissions: {}
# When a PR is updated, cancel the jobs from the previous version. Merges
# do not define head_ref, so use run_id to never cancel those jobs.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check-conda:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Cache conda
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
env:
# Increase this value to reset cache if setup.py has not changed
CACHE_NUMBER: 0
with:
path: ~/conda_pkgs_dir
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{
hashFiles('conda-environment.yml') }}
- uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
continue-on-error: true
id: conda1
with:
environment-file: conda-environment.yml
auto-update-conda: true
python-version: ${{ matrix.python-version}}
- uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
if: steps.conda1.outcome == 'failure'
with:
environment-file: conda-environment.yml
auto-update-conda: true
python-version: ${{ matrix.python-version}}
- name: Bash
shell: bash -l {0}
run: |
pip install .
python --version
rio --show-versions
datacube --version
conda env export