diff --git a/src/scicookie/{{cookiecutter.project_slug}}/.github/workflows/main.yaml b/src/scicookie/{{cookiecutter.project_slug}}/.github/workflows/main.yaml index 6048c79b..64e25d6c 100644 --- a/src/scicookie/{{cookiecutter.project_slug}}/.github/workflows/main.yaml +++ b/src/scicookie/{{cookiecutter.project_slug}}/.github/workflows/main.yaml @@ -17,16 +17,14 @@ jobs: steps: - uses: actions/checkout@v3 {% if cookiecutter.use_conda == "yes" %} - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: - miniconda-version: "latest" - mamba-version: "1.*" + miniforge-version: latest environment-file: conda/dev.yaml channels: conda-forge,nodefaults - channel-priority: true activate-environment: {{ cookiecutter.project_slug }} - use-mamba: true - miniforge-variant: Mambaforge + auto-update-conda: true + conda-solver: libmamba {% else %} - uses: actions/checkout@v3 diff --git a/src/scicookie/{{cookiecutter.project_slug}}/.github/workflows/release.yaml b/src/scicookie/{{cookiecutter.project_slug}}/.github/workflows/release.yaml index 8e6f0109..0e1d45c8 100644 --- a/src/scicookie/{{cookiecutter.project_slug}}/.github/workflows/release.yaml +++ b/src/scicookie/{{cookiecutter.project_slug}}/.github/workflows/release.yaml @@ -26,17 +26,16 @@ jobs: - uses: actions/checkout@v3 {% if cookiecutter.use_conda == "yes" %} - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: - miniconda-version: "latest" - mamba-version: "1.*" + miniforge-version: latest environment-file: conda/dev.yaml channels: conda-forge,nodefaults - channel-priority: true activate-environment: {{ cookiecutter.project_slug }} - use-mamba: true - miniforge-variant: Mambaforge + auto-update-conda: true + conda-solver: libmamba {% else %} + - uses: actions/setup-python@v4 with: python-version: "pypy3.9"