diff --git a/.github/actions/setup-conda/action.yml b/.github/actions/setup-conda/action.yml index 700197e400c5f..84e81b9a9297f 100644 --- a/.github/actions/setup-conda/action.yml +++ b/.github/actions/setup-conda/action.yml @@ -3,23 +3,14 @@ inputs: environment-file: description: Conda environment file to use. default: environment.yml - environment-name: - description: Name to use for the Conda environment - default: test - extra-specs: - description: Extra packages to install - required: false runs: using: composite steps: - name: Install ${{ inputs.environment-file }} - uses: mamba-org/provision-with-micromamba@v15 + uses: mamba-org/setup-micromamba@v1 with: environment-file: ${{ inputs.environment-file }} - environment-name: ${{ inputs.environment-name }} - extra-specs: ${{ inputs.extra-specs }} - channels: conda-forge - channel-priority: 'strict' + environment-name: test condarc-file: ci/condarc.yml - cache-env: true + cache-environment: true cache-downloads: true diff --git a/.github/workflows/package-checks.yml b/.github/workflows/package-checks.yml index db25719a016fd..0f3d4fce66282 100644 --- a/.github/workflows/package-checks.yml +++ b/.github/workflows/package-checks.yml @@ -67,17 +67,15 @@ jobs: fetch-depth: 0 - name: Set up Python - uses: mamba-org/provision-with-micromamba@v15 + uses: mamba-org/setup-micromamba@v1 with: - environment-file: false environment-name: recipe-test - extra-specs: | + extra-specs: >- python=${{ matrix.python-version }} boa conda-verify - channels: conda-forge cache-downloads: true - cache-env: true + cache-environment: true - name: Build conda package run: conda mambabuild ci --no-anaconda-upload --verify --strict-verify --output --output-folder .